From 69d790da9f5307c54c7a7c280e158c412f91dc84 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 4 Apr 2014 23:59:30 +0100 Subject: targets/vdpau: use version script to limit the exported symbols MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Christian König --- src/gallium/Automake.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/Automake.inc') 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) -- cgit v1.2.3