[Mesa-dev] [PATCH 2/2] targets/xvmc: export only necessary symbols
Emil Velikov
emil.l.velikov at gmail.com
Sat Nov 16 13:39:09 PST 2013
Export only XvMC* symbols for the xvmc targets.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/gallium/Automake.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 = \
--
1.8.4.2
More information about the mesa-dev
mailing list