Mesa (master): targets/xvmc: export only necessary symbols

Emil Velikov evelikov at kemper.freedesktop.org
Mon Nov 18 15:39:40 UTC 2013


Module: Mesa
Branch: master
Commit: 0faaed21122b95e29992e4f7abe85b4af3d058bf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0faaed21122b95e29992e4f7abe85b4af3d058bf

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sat Nov 16 21:29:07 2013 +0000

targets/xvmc: export only necessary symbols

Export only XvMC* symbols for the xvmc targets.

Tested-by: Ilia Mirkin <imirkin at alum.mit.edu>
Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>

---

 src/gallium/Automake.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc
index b6b9b36..1e4a34f 100644
--- a/src/gallium/Automake.inc
+++ b/src/gallium/Automake.inc
@@ -65,11 +65,11 @@ GALLIUM_VDPAU_LINKER_FLAGS = \
 	-shared \
 	-no-undefined
 
-# TODO: add -export-symbols-regex
 GALLIUM_XVMC_LINKER_FLAGS = \
 	-module \
 	-version-number $(XVMC_MAJOR):$(XVMC_MINOR) \
 	-shared \
+	-export-symbols-regex '^XvMC' \
 	-no-undefined
 
 GALLIUM_VDPAU_LIB_DEPS = \




More information about the mesa-commit mailing list