Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 1 | From c3eb5b2e74c38bb8374bc027f84e42d7e94f62f8 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> |
| 12 | --- |
| 13 | atk/meson.build | 2 +- |
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/atk/meson.build b/atk/meson.build |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 17 | index 616a3e6..941ded8 100644 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 18 | --- a/atk/meson.build |
| 19 | +++ b/atk/meson.build |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 20 | @@ -137,7 +137,7 @@ libatk_dep = declare_dependency(link_with: libatk, |
| 21 | dependencies: gobject_dep, |
| 22 | sources: atk_enum_h) |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 23 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 24 | -if not meson.is_cross_build() and get_option('introspection') |
| 25 | +if get_option('introspection') |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 26 | gnome.generate_gir(libatk, |
| 27 | sources: atk_sources + atk_headers + [ atk_enum_h ] + [ atk_version_h ], |
| 28 | namespace: 'Atk', |