summaryrefslogtreecommitdiffstats
path: root/src/gallium/Automake.inc
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2013-11-09 22:54:58 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2013-11-16 16:31:03 +0000
commitbfda1460b136511fa3363802377b9f34aa4f3d15 (patch)
treec9752ec58e820b738f8072f6a13a7fd7688c6ef4 /src/gallium/Automake.inc
parent5d7d120af176acb2a02b25868bb65f7e462084e5 (diff)
downloadexternal_mesa3d-bfda1460b136511fa3363802377b9f34aa4f3d15.zip
external_mesa3d-bfda1460b136511fa3363802377b9f34aa4f3d15.tar.gz
external_mesa3d-bfda1460b136511fa3363802377b9f34aa4f3d15.tar.bz2
targets/xvmc: move linker flags to Automake.inc
Minimise duplication and sources of error (eg nouveau was missing shared and no-undefined) Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/gallium/Automake.inc')
-rw-r--r--src/gallium/Automake.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc
index f67b295..f33bc37 100644
--- a/src/gallium/Automake.inc
+++ b/src/gallium/Automake.inc
@@ -44,6 +44,13 @@ GALLIUM_VDPAU_LINKER_FLAGS = \
-shared \
-no-undefined
+# TODO: add -export-symbols-regex
+GALLIUM_XVMC_LINKER_FLAGS = \
+ -module \
+ -version-number $(XVMC_MAJOR):$(XVMC_MINOR) \
+ -shared \
+ -no-undefined
+
GALLIUM_VDPAU_LIB_DEPS = \
$(top_builddir)/src/gallium/auxiliary/libgallium.la \
$(top_builddir)/src/gallium/state_trackers/vdpau/libvdpautracker.la \