diff options
author | Emil Velikov <[email protected]> | 2014-04-04 21:44:36 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-05-02 21:48:26 +0100 |
commit | 4eaa3c9b60e363fbbba1508b78f52d26e8c186bf (patch) | |
tree | 529fa74a0a7ffb2e1450fce320411ea2a5ba0c10 /src/gallium/targets | |
parent | 69d790da9f5307c54c7a7c280e158c412f91dc84 (diff) |
targets/gbm: add version-script to limit exported symbols
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r-- | src/gallium/targets/gbm/Makefile.am | 1 | ||||
-rw-r--r-- | src/gallium/targets/gbm/gbm.sym | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/targets/gbm/Makefile.am b/src/gallium/targets/gbm/Makefile.am index 0bd1d68ca69..a8945a97f1c 100644 --- a/src/gallium/targets/gbm/Makefile.am +++ b/src/gallium/targets/gbm/Makefile.am @@ -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) diff --git a/src/gallium/targets/gbm/gbm.sym b/src/gallium/targets/gbm/gbm.sym new file mode 100644 index 00000000000..d5fa0b9a8d2 --- /dev/null +++ b/src/gallium/targets/gbm/gbm.sym @@ -0,0 +1,6 @@ +{ + global: + gbm_backend; + local: + *; +}; |