From: Michael Olbrich Date: Thu, 8 Aug 2019 14:56:33 +0200 Subject: [PATCH] meson: allow enabling gir when cross-compiling Signed-off-by: Michael Olbrich --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 89837c1553c6..759821019b29 100644 --- a/meson.build +++ b/meson.build @@ -290,7 +290,7 @@ enable_gnome = get_option('gnome') and host_machine.system() != 'windows' # FIXME: once we start to require meson 0.49.0+ and gnome-introspection 1.58.1+ # the we can enable the introspection even for the static build. See # https://github.com/mesonbuild/meson/pull/4478. -enable_introspection = get_option('introspection') and find_program('g-ir-scanner', required: false).found() and not meson.is_cross_build() and not is_static_library +enable_introspection = get_option('introspection') and find_program('g-ir-scanner', required: false).found() and not is_static_library ############ # Vala API #