targets/gbm: add version-script to limit exported symbols

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
Emil Velikov
2014-04-04 21:44:36 +01:00
parent 69d790da9f
commit 4eaa3c9b60
2 changed files with 7 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ gbm_gallium_drm_la_LDFLAGS = \
-module \
-no-undefined \
-avoid-version \
-Wl,--version-script=$(top_srcdir)/src/gallium/targets/gbm/gbm.sym \
$(GC_SECTIONS) \
$(LD_NO_UNDEFINED)

View File

@@ -0,0 +1,6 @@
{
global:
gbm_backend;
local:
*;
};