diff --git a/meson.build b/meson.build index 9e8947a14b..61f0077621 100644 --- a/meson.build +++ b/meson.build @@ -42,6 +42,11 @@ else noseh_link_args = [] endif +# Symbol visibility +if cc.has_argument('-fvisibility=hidden') + add_project_arguments('-fvisibility=hidden', language: 'c') +endif + cdata = configuration_data() check_headers = [