summaryrefslogtreecommitdiffstats
path: root/src/gallium/Automake.inc
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-04-04 23:59:30 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-05-02 21:48:26 +0100
commit69d790da9f5307c54c7a7c280e158c412f91dc84 (patch)
treeb98c105a7cfcdf041474c09cf175eded3a852ec4 /src/gallium/Automake.inc
parent53dd2e45f4625cc82f96e628a0e20512557113b8 (diff)
downloadexternal_mesa3d-69d790da9f5307c54c7a7c280e158c412f91dc84.zip
external_mesa3d-69d790da9f5307c54c7a7c280e158c412f91dc84.tar.gz
external_mesa3d-69d790da9f5307c54c7a7c280e158c412f91dc84.tar.bz2
targets/vdpau: use version script to limit the exported symbols
Using export-symbols-regex is the least desirable method of restricting the exported symbols, as is completely messes up with the symbol table. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'src/gallium/Automake.inc')
-rw-r--r--src/gallium/Automake.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc
index 5a4f4e8..4519c16 100644
--- a/src/gallium/Automake.inc
+++ b/src/gallium/Automake.inc
@@ -64,7 +64,7 @@ GALLIUM_VDPAU_LINKER_FLAGS = \
-module \
-no-undefined \
-version-number $(VDPAU_MAJOR):$(VDPAU_MINOR) \
- -export-symbols-regex $(VDPAU_EXPORTS) \
+ -Wl,--version-script=$(top_srcdir)/src/gallium/targets/vdpau.sym \
$(GC_SECTIONS) \
$(LD_NO_UNDEFINED)