targets/gbm: add version-script to limit exported symbols
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
@@ -67,6 +67,7 @@ gbm_gallium_drm_la_LDFLAGS = \
|
|||||||
-module \
|
-module \
|
||||||
-no-undefined \
|
-no-undefined \
|
||||||
-avoid-version \
|
-avoid-version \
|
||||||
|
-Wl,--version-script=$(top_srcdir)/src/gallium/targets/gbm/gbm.sym \
|
||||||
$(GC_SECTIONS) \
|
$(GC_SECTIONS) \
|
||||||
$(LD_NO_UNDEFINED)
|
$(LD_NO_UNDEFINED)
|
||||||
|
|
||||||
|
6
src/gallium/targets/gbm/gbm.sym
Normal file
6
src/gallium/targets/gbm/gbm.sym
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
global:
|
||||||
|
gbm_backend;
|
||||||
|
local:
|
||||||
|
*;
|
||||||
|
};
|
Reference in New Issue
Block a user