void-packages/srcpkgs/meson/patches/dont-use-native-pkgconfig-f...

15 lines
744 B
Diff

diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
index bf49770..42473cb 100644
--- mesonbuild/modules/gnome.py
+++ mesonbuild/modules/gnome.py
@@ -429,7 +429,7 @@ class GnomeModule(ExtensionModule):
try:
gir_dep = self.gir_dep or PkgConfigDependency('gobject-introspection-1.0',
state.environment,
- {'native': True})
+ {'native': False})
pkgargs = gir_dep.get_compile_args()
except Exception:
raise MesonException('gobject-introspection dependency was not found, gir cannot be generated.')