void-packages/srcpkgs/libsoup/patches/fix-gir-cross.patch
2019-03-12 14:26:10 -03:00

13 lines
729 B
Diff

diff --git a/meson.build b/meson.build
index a979362..9059918 100644
--- meson.build
+++ meson.build
@@ -269,7 +269,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 #