aboutsummaryrefslogtreecommitdiffstats
path: root/src/vulkan/wsi/meson.build
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2020-04-24 13:10:41 -0700
committerMarge Bot <[email protected]>2020-06-01 18:59:18 +0000
commita8e2d79e0228106d11b6ceeb38f4ffb587f0a819 (patch)
tree18eef778716e07f993f568e54920e2242fd0b717 /src/vulkan/wsi/meson.build
parentfc7301865e1eabe06d4225af596e7334c4094fe5 (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/vulkan/wsi/meson.build')
-rw-r--r--src/vulkan/wsi/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vulkan/wsi/meson.build b/src/vulkan/wsi/meson.build
index af3f9c5ced2..d098ba6eb4e 100644
--- a/src/vulkan/wsi/meson.build
+++ b/src/vulkan/wsi/meson.build
@@ -43,6 +43,7 @@ libvulkan_wsi = static_library(
files_vulkan_wsi,
include_directories : [inc_include, inc_src],
dependencies : [vulkan_wsi_deps, dep_libdrm, idep_vulkan_util, idep_xmlconfig],
- c_args : [c_vis_args, vulkan_wsi_args],
+ c_args : [vulkan_wsi_args],
+ gnu_symbol_visibility : 'hidden',
build_by_default : false,
)