summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-04-18 08:33:03 -0700
committerDylan Baker <[email protected]>2019-09-10 20:36:47 +0000
commit2595b7c997a6f77ea94c708165bc5f7448936b0f (patch)
treef968a12f1abbf7dfa27e236db12096dc5c99c96c /src/mapi
parentb9fa7ec4fa05f51968421b19f9408114f3586342 (diff)
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 <[email protected]> (v1) Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/glapi.h2
-rw-r--r--src/mapi/shared-glapi/glapi-symbols.txt1
2 files changed, 2 insertions, 1 deletions
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