mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
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
@ -504,7 +504,12 @@ libmutter_clutter_dep = declare_dependency(
|
||||
)
|
||||
|
||||
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,
|
||||
sources: [
|
||||
|
Loading…
Reference in New Issue
Block a user