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