TODO: - properly cleanup all the _glapi* symbols - XMesa* -- no sign of the header even being distributed -- mesa-demos uses it to the point that the relevant code is not compiled -- the classic driver (x11) exibits the same issues
Brian, Do you know of any users of the XMesa* functions outside of mesa-demos ? AFAICS we should be safe with dropping PUBLIC although I may have missed something. As a follow up someone can cleanup all the mesa-demos code :) Cc: Brian Paul <bri...@vmware.com> Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> --- src/gallium/targets/libgl-xlib/Makefile.am | 1 + src/gallium/targets/libgl-xlib/libgl-xlib.sym | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 src/gallium/targets/libgl-xlib/libgl-xlib.sym diff --git a/src/gallium/targets/libgl-xlib/Makefile.am b/src/gallium/targets/libgl-xlib/Makefile.am index 4ee364e..3718243 100644 --- a/src/gallium/targets/libgl-xlib/Makefile.am +++ b/src/gallium/targets/libgl-xlib/Makefile.am @@ -47,6 +47,7 @@ libGL_la_SOURCES = xlib.c libGL_la_LDFLAGS = \ -no-undefined \ -version-number $(GL_MAJOR):$(GL_MINOR):$(GL_TINY) \ + -Wl,--version-script=$(top_srcdir)/src/gallium/targets/libgl-xlib/libgl-xlib.sym \ $(GC_SECTIONS) \ $(LD_NO_UNDEFINED) diff --git a/src/gallium/targets/libgl-xlib/libgl-xlib.sym b/src/gallium/targets/libgl-xlib/libgl-xlib.sym new file mode 100644 index 0000000..d6cd23d --- /dev/null +++ b/src/gallium/targets/libgl-xlib/libgl-xlib.sym @@ -0,0 +1,6 @@ +{ + global: + gl*; + local: + *; +}; -- 1.9.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev