1
0
Fork 0

meson: Hide symbols by default in clutter

Clutter exports symbols explicitly using `CLUTTER_EXPORT`, so everything should
be hidden by default, unless exposed.

Usage of `gnu_symbol_visibility` needs a version bump to meson 0.48.0

https://gitlab.gnome.org/GNOME/mutter/merge_requests/3955
This commit is contained in:
Marco Trevisan (Treviño) 2019-01-22 15:43:40 +01:00
parent 08130912f0
commit adc5670ea9
2 changed files with 2 additions and 1 deletions

View file

@ -524,6 +524,7 @@ libmutter_clutter = shared_library(libmutter_clutter_name,
c_args: clutter_c_args,
include_directories: clutter_includes,
dependencies: [clutter_deps],
gnu_symbol_visibility: 'hidden',
link_with: [
libmutter_cogl,
libmutter_cogl_pango,

View file

@ -1,6 +1,6 @@
project('mutter', 'c',
version: '3.31.4',
meson_version: '>= 0.46.0',
meson_version: '>= 0.48.0',
license: 'GPLv2+'
)