glapi: export glapi_destroy_multithread when building shared-glapi on windows
authorDylan Baker <dylan@pnwbakers.com>
Wed, 18 Apr 2018 15:33:03 +0000 (08:33 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 10 Sep 2019 20:36:47 +0000 (20:36 +0000)
Which will allow meson to build a shared glapi build with mingw.

v2: - Add symbol to symbol check test

Reviewed-by: Eric Anholt <eric@anholt.net> (v1)
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/mapi/glapi/glapi.h
src/mapi/shared-glapi/glapi-symbols.txt

index 3e852a935bc8031bf725252004e1b853b0a40153..d108274627209991280f79cfb50edfed30992b46 100644 (file)
@@ -114,7 +114,7 @@ _GLAPI_EXPORT extern void *_glapi_Context;
 #endif /* defined (USE_ELF_TLS) */
 
 
-void
+_GLAPI_EXPORT void
 _glapi_destroy_multithread(void);
 
 
index c068e46fc9b2a35e26798172d7df4cdf77502f6b..a30e21bcf67512fa2dd5cbe0037cb121aef5d764 100644 (file)
@@ -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