summaryrefslogtreecommitdiff
path: root/lib/mesa/src/mapi/shared-glapi
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-07-22 10:17:30 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-07-22 10:17:30 +0000
commitca11beabae33eb59fb981b8adf50b1d47a2a98f0 (patch)
tree3e4691a396e6e54cd54224a190663d5cf976625b /lib/mesa/src/mapi/shared-glapi
parent27c8a50e8bbde7d28b1fc46d715a4c469e24f2c4 (diff)
Import Mesa 21.1.5
Diffstat (limited to 'lib/mesa/src/mapi/shared-glapi')
-rw-r--r--lib/mesa/src/mapi/shared-glapi/glapi-symbols.txt4
-rw-r--r--lib/mesa/src/mapi/shared-glapi/meson.build2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/mesa/src/mapi/shared-glapi/glapi-symbols.txt b/lib/mesa/src/mapi/shared-glapi/glapi-symbols.txt
index a30e21bcf..43d87af2b 100644
--- a/lib/mesa/src/mapi/shared-glapi/glapi-symbols.txt
+++ b/lib/mesa/src/mapi/shared-glapi/glapi-symbols.txt
@@ -15,6 +15,6 @@ _glapi_set_context
_glapi_set_dispatch
_glapi_set_nop_handler
_glapi_set_warning_func
-_glapi_tls_Context
-_glapi_tls_Dispatch
+(optional) _glapi_tls_Context
+(optional) _glapi_tls_Dispatch
_glthread_GetID
diff --git a/lib/mesa/src/mapi/shared-glapi/meson.build b/lib/mesa/src/mapi/shared-glapi/meson.build
index 5b9db0c08..68fa50d82 100644
--- a/lib/mesa/src/mapi/shared-glapi/meson.build
+++ b/lib/mesa/src/mapi/shared-glapi/meson.build
@@ -47,11 +47,11 @@ libglapi = shared_library(
c_args : [
_glapi_c_args,
c_msvc_compat_args,
- c_vis_args,
'-DMAPI_MODE_GLAPI',
'-DMAPI_ABI_HEADER="@0@"'.format(shared_glapi_mapi_tmp_h.full_path()),
gcc_lto_quirk,
],
+ gnu_symbol_visibility : 'hidden',
link_args : [ld_args_gc_sections],
include_directories : [inc_src, inc_include, inc_mapi],
dependencies : [dep_thread, dep_selinux],