summaryrefslogtreecommitdiffstats
path: root/src/gallium/Automake.inc
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-04-04 23:59:30 +0100
committerEmil Velikov <[email protected]>2014-05-02 21:48:26 +0100
commit69d790da9f5307c54c7a7c280e158c412f91dc84 (patch)
treeb98c105a7cfcdf041474c09cf175eded3a852ec4 /src/gallium/Automake.inc
parent53dd2e45f4625cc82f96e628a0e20512557113b8 (diff)
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 <[email protected]> Reviewed-by: Christian König <[email protected]>
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 5a4f4e8c455..4519c161c09 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)