From 2595b7c997a6f77ea94c708165bc5f7448936b0f Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Wed, 18 Apr 2018 08:33:03 -0700 Subject: [PATCH] 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 --- 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 -- 2.30.2