Export only XvMC* symbols for the xvmc targets.

Signed-off-by: Emil Velikov <emil.l.veli...@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

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to