From 902dc61f886c0d719ce25894bbc8032ede0f409b Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 27 Mar 2014 20:32:41 +0000 Subject: [PATCH] gallium/targets: add missing library dependencies Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- 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 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 += \ -- 2.30.2