[Mesa-dev] [PATCH 22/24] gallium/targets: add missing library dependencies
Emil Velikov
emil.l.velikov at gmail.com
Thu Mar 27 14:00:37 PDT 2014
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/gallium/targets/gbm/Makefile.am | 5 ++++-
src/gallium/targets/xa/Makefile.am | 7 ++++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/gallium/targets/gbm/Makefile.am b/src/gallium/targets/gbm/Makefile.am
index e36d317..bad581d 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 1d4f095..ed87b9f 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 += \
--
1.9.1
More information about the mesa-dev
mailing list