1From 123b5a4c5e09f4262d4545a0bc5edb01a19b6b76 Mon Sep 17 00:00:00 2001
2From: Markus Volk <f_l_k@t-online.de>
3Date: Mon, 21 Aug 2023 10:06:55 +0200
4Subject: [PATCH] meson.build: allow crosscompiling gir
5
6Upstream-Status: Inappropriate [oe specific]
7
8Signed-off-by: Markus Volk <f_l_k@t-online.de>
9---
10 meson.build | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/meson.build b/meson.build
14index 39b739e..46f2252 100644
15--- a/meson.build
16+++ b/meson.build
17@@ -29,7 +29,7 @@ libosinfo_pkgconfdir = join_paths(libosinfo_libdir, 'pkgconfig')
18
19 # gobject introspection
20 gir = find_program('g-ir-scanner', required: get_option('enable-introspection'))
21-enable_introspection = gir.found() and not meson.is_cross_build()
22+enable_introspection = gir.found()
23
24 # vala
25 vapi_opt = get_option('enable-vala')
26--
272.41.0
28
29