Update meson.build (#12342)

This commit is contained in:
Paul I 2018-11-28 00:48:46 +03:00 committed by xarkes
parent 13d5fcdd87
commit ebcb175401

View File

@ -107,7 +107,7 @@ endif
if get_option('default_library') == 'shared'
if host_machine.system() != 'windows' or cc.get_id() != 'msvc'
add_global_arguments('-fvisibility=hidden', language: 'c')
add_project_arguments('-fvisibility=hidden', language: 'c')
endif
endif