diff options
Diffstat (limited to 'meta/recipes-support/atk/atk/0001-meson.build-enable-introspection-for-cross-compile.patch')
-rw-r--r-- | meta/recipes-support/atk/atk/0001-meson.build-enable-introspection-for-cross-compile.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-support/atk/atk/0001-meson.build-enable-introspection-for-cross-compile.patch b/meta/recipes-support/atk/atk/0001-meson.build-enable-introspection-for-cross-compile.patch new file mode 100644 index 0000000000..c604a984a4 --- /dev/null +++ b/meta/recipes-support/atk/atk/0001-meson.build-enable-introspection-for-cross-compile.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 3838757d29590cc1ef99c97f7268377322fc17e9 Mon Sep 17 00:00:00 2001 | ||
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 | ||
17 | index 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', | ||