[libgit2-glib] meson: don't gatekeep gir behind cross_build checks.
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] meson: don't gatekeep gir behind cross_build checks.
- Date: Tue, 12 Feb 2019 23:24:35 +0000 (UTC)
commit 4fa755be90b8a77444da8d9d7fb24f2968ab58d5
Author: maxice8 <thinkabit ukim gmail com>
Date: Thu Feb 7 03:25:40 2019 -0200
meson: don't gatekeep gir behind cross_build checks.
Allow cross compiling users to build libgit2-glib gir bindings
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index f7bb6d1..e7e96a1 100644
--- a/meson.build
+++ b/meson.build
@@ -121,7 +121,7 @@ libgit2_dep = dependency('libgit2', version: '>= 0.25.0')
enable_gir = get_option('introspection')
if enable_gir
# XXX: Not nice, but probably our best option
- enable_gir = find_program('g-ir-scanner', required: false).found() and not meson.is_cross_build()
+ enable_gir = find_program('g-ir-scanner', required: false).found()
endif
enable_vapi = get_option('vapi')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]