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:
parent
08130912f0
commit
adc5670ea9
2 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
project('mutter', 'c',
|
||||
version: '3.31.4',
|
||||
meson_version: '>= 0.46.0',
|
||||
meson_version: '>= 0.48.0',
|
||||
license: 'GPLv2+'
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue