GLdispatch: Add a version script for the TSD build.
Add a separate version script export_list_tsd.ver for the TSD build of libGLdispatch, since the two builds don't have the same set of symbols.
This commit is contained in:
parent
652909fbff
commit
8709003ffd
|
@ -39,9 +39,13 @@ libGLdispatch_la_CFLAGS += -I$(top_srcdir)/include
|
|||
|
||||
libGLdispatch_la_LDFLAGS = -shared -version-info 0 $(LINKER_FLAG_NO_UNDEFINED)
|
||||
|
||||
EXTRA_libGLdispatch_la_DEPENDENCIES = $(top_srcdir)/src/GLdispatch/export_list.ver
|
||||
libGLdispatch_la_LDFLAGS += \
|
||||
-Xlinker --version-script=$(top_srcdir)/src/GLdispatch/export_list.ver
|
||||
if GLDISPATCH_USE_TLS
|
||||
VERSION_SCRIPT=$(top_srcdir)/src/GLdispatch/export_list_tls.ver
|
||||
else
|
||||
VERSION_SCRIPT=$(top_srcdir)/src/GLdispatch/export_list_tsd.ver
|
||||
endif
|
||||
EXTRA_libGLdispatch_la_DEPENDENCIES = $(VERSION_SCRIPT)
|
||||
libGLdispatch_la_LDFLAGS += -Xlinker --version-script=$(VERSION_SCRIPT)
|
||||
|
||||
libGLdispatch_la_SOURCES = \
|
||||
GLdispatch.c
|
||||
|
@ -52,4 +56,4 @@ libGLdispatch_la_LIBADD += ../util/libglvnd_pthread.la
|
|||
libGLdispatch_la_LIBADD += ../util/libapp_error_check.la
|
||||
libGLdispatch_la_LIBADD += @LIB_DL@
|
||||
|
||||
EXTRA_DIST = export_list.ver
|
||||
EXTRA_DIST = export_list_tls.ver export_list_tsd.ver
|
||||
|
|
21
src/GLdispatch/export_list_tsd.ver
Normal file
21
src/GLdispatch/export_list_tsd.ver
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
global:
|
||||
_glapi_get_current;
|
||||
_glapi_Current;
|
||||
__glDispatchCheckMultithreaded;
|
||||
__glDispatchCreateTable;
|
||||
__glDispatchDestroyTable;
|
||||
__glDispatchFini;
|
||||
__glDispatchGetABIVersion;
|
||||
__glDispatchGetCurrentThreadState;
|
||||
__glDispatchGetProcAddress;
|
||||
__glDispatchInit;
|
||||
__glDispatchLoseCurrent;
|
||||
__glDispatchMakeCurrent;
|
||||
__glDispatchNewVendorID;
|
||||
__glDispatchRegisterStubCallbacks;
|
||||
__glDispatchReset;
|
||||
__glDispatchUnregisterStubCallbacks;
|
||||
__glDispatchForceUnpatch;
|
||||
local: *;
|
||||
};
|
Loading…
Reference in a new issue