glib/gio/xdgmime/meson.build
Tim-Philipp Müller 2f29ee1735 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.
2017-07-13 19:03:39 -04:00

17 lines
384 B
Meson

xdgmime_sources = [
'xdgmime.c',
'xdgmimealias.c',
'xdgmimecache.c',
'xdgmimeglob.c',
'xdgmimeicon.c',
'xdgmimeint.c',
'xdgmimemagic.c',
'xdgmimeparent.c',
]
xdgmime_lib = static_library('xdgmime',
sources : xdgmime_sources,
include_directories : [configinc],
pic : true,
c_args : [ '-DHAVE_CONFIG_H', '-DXDG_PREFIX=_gio_xdg' ] + glib_hidden_visibility_args)