mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 00:18:44 +02:00
meson: add -fvisibility=hidden explicitly to selected targets
Don't use it project-wide for building everything. Otherwise symbols for shared modules won't be exposed, e.g. in the resourceplugin used by the gio resource unit test.
This commit is contained in:
committed by
Matthias Clasen
parent
1224ff0c39
commit
2f29ee1735
@@ -13,4 +13,4 @@ xdgmime_lib = static_library('xdgmime',
|
||||
sources : xdgmime_sources,
|
||||
include_directories : [configinc],
|
||||
pic : true,
|
||||
c_args : [ '-DHAVE_CONFIG_H', '-DXDG_PREFIX=_gio_xdg' ])
|
||||
c_args : [ '-DHAVE_CONFIG_H', '-DXDG_PREFIX=_gio_xdg' ] + glib_hidden_visibility_args)
|
||||
|
Reference in New Issue
Block a user