gallium/targets: add missing library dependencies
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 27 Mar 2014 20:32:41 +0000 (20:32 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 31 Mar 2014 12:08:55 +0000 (13:08 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/gallium/targets/gbm/Makefile.am
src/gallium/targets/xa/Makefile.am

index e36d317b0693fd29f36a0de9ba415e7c691e1595..bad581d7383fd5e45e35b4ba7a8bd10e6634ff47 100644 (file)
@@ -49,7 +49,10 @@ gbm_gallium_drm_la_LIBADD = \
        $(top_builddir)/src/gallium/state_trackers/gbm/libgbm.la \
        $(top_builddir)/src/gallium/auxiliary/libgallium.la \
        $(LIBDRM_LIBS) \
-       -lm
+       -lm \
+       $(CLOCK_LIB) \
+       $(PTHREAD_LIBS) \
+       $(DLOPEN_LIBS)
 
 if HAVE_DRI
 gbm_gallium_drm_la_LIBADD += \
index 1d4f095da338284872706a4faa85cf2d5b1d79af..ed87b9f59dc4ca174030d7850029ecfd2b95273f 100644 (file)
@@ -45,7 +45,12 @@ libxatracker_la_LIBADD = \
        $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \
        $(top_builddir)/src/gallium/state_trackers/xa/libxatracker.la \
        $(top_builddir)/src/gallium/auxiliary/libgallium.la \
-       $(LIBDRM_LIBS)
+       $(LIBDRM_LIBS) \
+       -lm \
+       $(CLOCK_LIB) \
+       $(PTHREAD_LIBS) \
+       $(DLOPEN_LIBS)
+
 
 if HAVE_DRI
 libxatracker_la_LIBADD += \