diff options
-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: + *; +}; |