summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-03-27 20:32:41 +0000
committerEmil Velikov <[email protected]>2014-03-31 13:08:55 +0100
commit902dc61f886c0d719ce25894bbc8032ede0f409b (patch)
tree2266714a87a61aa2b197bf602b91ea214af61c85 /src/gallium/targets
parent354a5cad74c38d2211e7f0ad485cc302fe51b3f0 (diff)
gallium/targets: add missing library dependencies
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/gbm/Makefile.am5
-rw-r--r--src/gallium/targets/xa/Makefile.am7
2 files changed, 10 insertions, 2 deletions
diff --git a/src/gallium/targets/gbm/Makefile.am b/src/gallium/targets/gbm/Makefile.am
index e36d317b069..bad581d7383 100644
--- a/src/gallium/targets/gbm/Makefile.am
+++ b/src/gallium/targets/gbm/Makefile.am
@@ -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 += \
diff --git a/src/gallium/targets/xa/Makefile.am b/src/gallium/targets/xa/Makefile.am
index 1d4f095da33..ed87b9f59dc 100644
--- a/src/gallium/targets/xa/Makefile.am
+++ b/src/gallium/targets/xa/Makefile.am
@@ -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 += \