diff options
author | Dylan Baker <[email protected]> | 2020-04-24 13:10:41 -0700 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-01 18:59:18 +0000 |
commit | a8e2d79e0228106d11b6ceeb38f4ffb587f0a819 (patch) | |
tree | 18eef778716e07f993f568e54920e2242fd0b717 /src/glx/apple | |
parent | fc7301865e1eabe06d4225af596e7334c4094fe5 (diff) |
meson: use gnu_symbol_visibility argument
This uses a meson builtin to handle -fvisibility=hidden. This is nice
because we don't need to track which languages are used, if C++ is
suddenly added meson just does the right thing.
Acked-by: Matt Turner <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4740>
Diffstat (limited to 'src/glx/apple')
-rw-r--r-- | src/glx/apple/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/apple/meson.build b/src/glx/apple/meson.build index c6b1d617c4f..86c4c76367d 100644 --- a/src/glx/apple/meson.build +++ b/src/glx/apple/meson.build @@ -56,6 +56,6 @@ libappleglx = static_library( [files_libappleglx, glapitable_h], include_directories: [inc_mesa, inc_glx, inc_src, inc_include, inc_glapi], dependencies: [dep_xext, dep_xplugin], - c_args: [c_vis_args], + gnu_symbol_visibility : 'hidden', build_by_default: false, ) |