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
-module \
-no-undefined \
-version-number @OSMESA_VERSION@ \
+ -Wl,--version-script=$(top_srcdir)/src/gallium/targets/osmesa/osmesa.sym \
$(GC_SECTIONS) \
$(LD_NO_UNDEFINED)
--- /dev/null
+{
+ global:
+ OSMesaColorClamp;
+ OSMesaCreateContext;
+ OSMesaCreateContextExt;
+ OSMesaDestroyContext;
+ OSMesaGetColorBuffer;
+ OSMesaGetCurrentContext;
+ OSMesaGetDepthBuffer;
+ OSMesaGetIntegerv;
+ OSMesaGetProcAddress;
+ OSMesaMakeCurrent;
+ OSMesaPixelStore;
+ OSMesaPostprocess;
+ gl*;
+ local:
+ *;
+};