blob: d1b08bc04b620ccea076cf17fde09a7b5108130a [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001From 44d46baa5e1519c6c3df7e4d34fb333e247b5bc8 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>
Brad Bishop15ae2502019-06-18 21:44:24 -040012
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080013---
14 atk/meson.build | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/atk/meson.build b/atk/meson.build
Brad Bishop15ae2502019-06-18 21:44:24 -040018index 0ad67e5..1d2a49c 100644
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019--- a/atk/meson.build
20+++ b/atk/meson.build
Brad Bishop19323692019-04-05 15:28:33 -040021@@ -137,7 +137,7 @@ libatk_dep = declare_dependency(link_with: libatk,
Brad Bishop15ae2502019-06-18 21:44:24 -040022 dependencies: glib_dep,
Brad Bishop19323692019-04-05 15:28:33 -040023 sources: atk_enum_h)
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080024
Brad Bishop19323692019-04-05 15:28:33 -040025-if not meson.is_cross_build() and get_option('introspection')
26+if get_option('introspection')
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080027 gnome.generate_gir(libatk,
28 sources: atk_sources + atk_headers + [ atk_enum_h ] + [ atk_version_h ],
29 namespace: 'Atk',