mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-16 13:40:29 +01:00
targets/gbm: add version-script to limit exported symbols
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
69d790da9f
commit
4eaa3c9b60
2 changed files with 7 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
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:
|
||||
*;
|
||||
};
|
||||
Loading…
Add table
Reference in a new issue