How is symbol visibility set up in mesa's shared objects?

When I do :
./autogen.sh --with-driver=xlib --disable-gallium --enable-debug

I get for example :

$ nm lib/libGL.so | grep glDepthFunc
000000000020ce30 T glDepthFunc
$ nm lib/libOSMesa.so | grep glDepthFunc
00000000001ca760 T glDepthFunc

As I understand it there is no way for these two libraries to be linked
by the same application.

Is the visibility for glDepthFunc set in include/GL/gl.h with :

define GLAPI __attribute__((visibility("default")))

and :


GLAPI void GLAPIENTRY glDepthFunc( GLenum func );

Is there no way to use say mklib's EXPORTS --version-script options to
get only the right things in the right libraries?

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to