blob: c604a984a42adda29fac84c64699a1ac8f86e46f [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 3838757d29590cc1ef99c97f7268377322fc17e9 Mon Sep 17 00:00:00 2001
2From: Anuj Mittal <anuj.mittal@intel.com>
3Date: Fri, 6 Apr 2018 12:04:00 +0800
4Subject: [PATCH] meson.build: enable introspection for cross-compile
5
6It works fine in OE-core and doesn't need to be disabled. Let the user decide
7if it should be disabled or not.
8
9Upstream-Status: Pending
10
11Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
12---
13 atk/meson.build | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/atk/meson.build b/atk/meson.build
17index 7b5a683..855e28f 100644
18--- a/atk/meson.build
19+++ b/atk/meson.build
20@@ -139,7 +139,7 @@ libatk_dep = declare_dependency(link_with: libatk,
21
22 disable_introspection = get_option('disable_introspection')
23
24-if not meson.is_cross_build() and not disable_introspection
25+if not disable_introspection
26 gnome.generate_gir(libatk,
27 sources: atk_sources + atk_headers + [ atk_enum_h ] + [ atk_version_h ],
28 namespace: 'Atk',