meson: Do not use clutter_c_args for GIR
Certain arguments like `-fno-omit-frame-pointer` break GIR creation. Lets handle this like we do for the rest of mutter and duplicate the relevant arguments from `clutter_c_args`. https://gitlab.gnome.org/GNOME/mutter/merge_requests/601
This commit is contained in:
parent
57945a730f
commit
4887de533c
1 changed files with 6 additions and 1 deletions
|
@ -504,7 +504,12 @@ libmutter_clutter_dep = declare_dependency(
|
||||||
)
|
)
|
||||||
|
|
||||||
if have_introspection
|
if have_introspection
|
||||||
clutter_introspection_args = introspection_args + clutter_c_args
|
clutter_introspection_args = introspection_args + [
|
||||||
|
'-DCLUTTER_SYSCONFDIR="@0@"'.format(join_paths(prefix, sysconfdir)),
|
||||||
|
'-DCLUTTER_COMPILATION=1',
|
||||||
|
'-DCOGL_DISABLE_DEPRECATION_WARNINGS',
|
||||||
|
'-DG_LOG_DOMAIN="Clutter"'
|
||||||
|
]
|
||||||
|
|
||||||
libmutter_clutter_gir = gnome.generate_gir(libmutter_clutter,
|
libmutter_clutter_gir = gnome.generate_gir(libmutter_clutter,
|
||||||
sources: [
|
sources: [
|
||||||
|
|
Loading…
Reference in a new issue