targets/xvmc: export only necessary symbols
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 16 Nov 2013 21:29:07 +0000 (21:29 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 18 Nov 2013 15:35:21 +0000 (15:35 +0000)
Export only XvMC* symbols for the xvmc targets.

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

index b6b9b367a825d0f1f77c7a0d4af4b8410a2c0f2f..1e4a34f5d2d7d8f9a2974afb829e325d2a0ca280 100644 (file)
@@ -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 = \