mirror of https://github.com/GNOME/gimp.git
libgimp: (meson) disable GIR building when a sanitizer is set.
Similar to the change in autotools, a few commits before.
This commit is contained in:
parent
87bda8879b
commit
220f0948f7
|
@ -435,6 +435,14 @@ if meson.is_cross_build() and not get_option('can-crosscompile-gir')
|
|||
])
|
||||
warning(gobject_introspection_warning)
|
||||
warnings += gobject_introspection_warning
|
||||
elif get_option('b_sanitize') != 'none'
|
||||
have_gobject_introspection = false
|
||||
gobject_introspection_warning = '\n '.join(['',
|
||||
'GObject Introspection is disabled while building with a sanitizer.',
|
||||
'See: https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/375'
|
||||
])
|
||||
warning(gobject_introspection_warning)
|
||||
warnings += gobject_introspection_warning
|
||||
else
|
||||
have_gobject_introspection = true
|
||||
libgimp_gir_includes = [
|
||||
|
|
Loading…
Reference in New Issue