summaryrefslogtreecommitdiffstats
path: root/src/gallium/Automake.inc
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-04-01 02:05:57 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-04-05 12:59:44 +0100
commit16c13aaeb87b296a60fd0898efc20984faf67565 (patch)
tree01e0f698d4b30c9c8b1008519e184e380312bbf4 /src/gallium/Automake.inc
parent476db98e03a3f99af6658302974e51ec908fd274 (diff)
downloadexternal_mesa3d-16c13aaeb87b296a60fd0898efc20984faf67565.zip
external_mesa3d-16c13aaeb87b296a60fd0898efc20984faf67565.tar.gz
external_mesa3d-16c13aaeb87b296a60fd0898efc20984faf67565.tar.bz2
automake: move GALLIUM_DRI_LIB_DEPS to Automake.inc
With recent commit we started de-duplicating all of the compiler/ linker flags moving their handling inside Automake.inc. This did not take into consideration that the above variable was set at configure time, leading to issues on certain build combinations. Move the variable to where it's used/handled thus cleaning up configure.ac. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76848 Tested-by: Vinson Lee <vlee@freedesktop.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/gallium/Automake.inc')
-rw-r--r--src/gallium/Automake.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc
index 56f1433..7504056 100644
--- a/src/gallium/Automake.inc
+++ b/src/gallium/Automake.inc
@@ -86,6 +86,15 @@ GALLIUM_OMX_LINKER_FLAGS = \
$(GC_SECTIONS) \
-Wl,--no-undefined
+GALLIUM_DRI_LIB_DEPS = \
+ $(SELINUX_LIBS) \
+ $(LIBDRM_LIBS) \
+ $(EXPAT_LIBS) \
+ -lm \
+ $(CLOCK_LIB) \
+ $(PTHREAD_LIBS) \
+ $(DLOPEN_LIBS)
+
GALLIUM_VDPAU_LIB_DEPS = \
$(top_builddir)/src/gallium/auxiliary/libgallium.la \
$(top_builddir)/src/gallium/state_trackers/vdpau/libvdpautracker.la \