summaryrefslogtreecommitdiff
path: root/src/gallium/Automake.inc
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2013-11-09 22:50:47 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2013-11-16 16:31:02 +0000
commit5f0df8ab22e23956e05451c7191b155e69e5c8d1 (patch)
treeef4de55cc26476324f900c8e9f75b62e492f8002 /src/gallium/Automake.inc
parent23588a9c04ca267799e8c85079cf5667a435790e (diff)
targets/vdpau: move linker flags to Automake.inc
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 b242bb4ced7..765fdd2a17d 100644
--- a/src/gallium/Automake.inc
+++ b/src/gallium/Automake.inc
@@ -36,3 +36,10 @@ GALLIUM_VIDEO_CFLAGS = \
$(PTHREAD_CFLAGS) \
$(LIBDRM_CFLAGS) \
$(VISIBILITY_CFLAGS)
+
+GALLIUM_VDPAU_LINKER_FLAGS = \
+ -module \
+ -version-number $(VDPAU_MAJOR):$(VDPAU_MINOR) \
+ -export-symbols-regex $(VDPAU_EXPORTS) \
+ -shared \
+ -no-undefined