Mesa (master): glapi: export glapi_destroy_multithread when building shared-glapi on windows

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Sep 10 20:56:54 UTC 2019


Module: Mesa
Branch: master
Commit: 2595b7c997a6f77ea94c708165bc5f7448936b0f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2595b7c997a6f77ea94c708165bc5f7448936b0f

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Wed Apr 18 08:33:03 2018 -0700

glapi: export glapi_destroy_multithread when building shared-glapi on windows

Which will allow meson to build a shared glapi build with mingw.

v2: - Add symbol to symbol check test

Reviewed-by: Eric Anholt <eric at anholt.net> (v1)
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>

---

 src/mapi/glapi/glapi.h                  | 2 +-
 src/mapi/shared-glapi/glapi-symbols.txt | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mapi/glapi/glapi.h b/src/mapi/glapi/glapi.h
index 3e852a935bc..d1082746272 100644
--- a/src/mapi/glapi/glapi.h
+++ b/src/mapi/glapi/glapi.h
@@ -114,7 +114,7 @@ _GLAPI_EXPORT extern void *_glapi_Context;
 #endif /* defined (USE_ELF_TLS) */
 
 
-void
+_GLAPI_EXPORT void
 _glapi_destroy_multithread(void);
 
 
diff --git a/src/mapi/shared-glapi/glapi-symbols.txt b/src/mapi/shared-glapi/glapi-symbols.txt
index c068e46fc9b..a30e21bcf67 100644
--- a/src/mapi/shared-glapi/glapi-symbols.txt
+++ b/src/mapi/shared-glapi/glapi-symbols.txt
@@ -2,6 +2,7 @@ _glapi_Context
 _glapi_Dispatch
 _glapi_add_dispatch
 _glapi_check_multithread
+_glapi_destroy_multithread
 _glapi_get_context
 _glapi_get_dispatch
 _glapi_get_dispatch_table_size




More information about the mesa-commit mailing list