From: Dylan Baker Date: Wed, 18 Apr 2018 15:33:03 +0000 (-0700) Subject: glapi: export glapi_destroy_multithread when building shared-glapi on windows X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2595b7c997a6f77ea94c708165bc5f7448936b0f;p=mesa.git 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 (v1) Reviewed-by: Eric Engestrom --- 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