summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/atk/atk/0001-meson.build-enable-introspection-for-cross-compile.patch
blob: d1b08bc04b620ccea076cf17fde09a7b5108130a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 44d46baa5e1519c6c3df7e4d34fb333e247b5bc8 Mon Sep 17 00:00:00 2001
From: Anuj Mittal <anuj.mittal@intel.com>
Date: Fri, 6 Apr 2018 12:04:00 +0800
Subject: [PATCH] meson.build: enable introspection for cross-compile

It works fine in OE-core and doesn't need to be disabled. Let the user decide
if it should be disabled or not.

Upstream-Status: Pending

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>

---
 atk/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/atk/meson.build b/atk/meson.build
index 0ad67e5..1d2a49c 100644
--- a/atk/meson.build
+++ b/atk/meson.build
@@ -137,7 +137,7 @@ libatk_dep = declare_dependency(link_with: libatk,
                                 dependencies: glib_dep,
                                 sources: atk_enum_h)
 
-if not meson.is_cross_build() and get_option('introspection')
+if get_option('introspection')
   gnome.generate_gir(libatk,
                      sources: atk_sources + atk_headers + [ atk_enum_h ] + [ atk_version_h ],
                      namespace: 'Atk',