blob: 1d814ccdb7450fddd8ca02e80bb80a63f5e1bb23 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From c3eb5b2e74c38bb8374bc027f84e42d7e94f62f8 Mon Sep 17 00:00:00 2001
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08002From: 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
Brad Bishop19323692019-04-05 15:28:33 -040017index 616a3e6..941ded8 100644
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080018--- a/atk/meson.build
19+++ b/atk/meson.build
Brad Bishop19323692019-04-05 15:28:33 -040020@@ -137,7 +137,7 @@ libatk_dep = declare_dependency(link_with: libatk,
21 dependencies: gobject_dep,
22 sources: atk_enum_h)
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080023
Brad Bishop19323692019-04-05 15:28:33 -040024-if not meson.is_cross_build() and get_option('introspection')
25+if get_option('introspection')
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080026 gnome.generate_gir(libatk,
27 sources: atk_sources + atk_headers + [ atk_enum_h ] + [ atk_version_h ],
28 namespace: 'Atk',