summaryrefslogtreecommitdiff
path: root/lib/mesa/src/mapi/shared-glapi
diff options
context:
space:
mode:
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],