Browse Source

targets/osmesa: limit the amount of exported symbols

src/gallium/targets/osmesa/Makefile.am |  1 +
src/gallium/targets/osmesa/osmesa.sym  | 18 ++++++++++++++++++
2 files changed, 19 insertions(+)
create mode 100644 src/gallium/targets/osmesa/osmesa.sym
tags/10.3-branchpoint
Emil Velikov 11 years ago
parent
commit
d4c3968c25
2 changed files with 19 additions and 0 deletions
  1. 1
    0
      src/gallium/targets/osmesa/Makefile.am
  2. 18
    0
      src/gallium/targets/osmesa/osmesa.sym

+ 1
- 0
src/gallium/targets/osmesa/Makefile.am View File

@@ -45,6 +45,7 @@ lib@OSMESA_LIB@_la_LDFLAGS = \
-module \
-no-undefined \
-version-number @OSMESA_VERSION@ \
-Wl,--version-script=$(top_srcdir)/src/gallium/targets/osmesa/osmesa.sym \
$(GC_SECTIONS) \
$(LD_NO_UNDEFINED)


+ 18
- 0
src/gallium/targets/osmesa/osmesa.sym View File

@@ -0,0 +1,18 @@
{
global:
OSMesaColorClamp;
OSMesaCreateContext;
OSMesaCreateContextExt;
OSMesaDestroyContext;
OSMesaGetColorBuffer;
OSMesaGetCurrentContext;
OSMesaGetDepthBuffer;
OSMesaGetIntegerv;
OSMesaGetProcAddress;
OSMesaMakeCurrent;
OSMesaPixelStore;
OSMesaPostprocess;
gl*;
local:
*;
};

Loading…
Cancel
Save