diff options
Diffstat (limited to 'meta/recipes-graphics/harfbuzz/harfbuzz/0001-Do-not-disable-introspection-in-cross-builds.patch')
-rw-r--r-- | meta/recipes-graphics/harfbuzz/harfbuzz/0001-Do-not-disable-introspection-in-cross-builds.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz/0001-Do-not-disable-introspection-in-cross-builds.patch b/meta/recipes-graphics/harfbuzz/harfbuzz/0001-Do-not-disable-introspection-in-cross-builds.patch new file mode 100644 index 0000000000..d00656fc88 --- /dev/null +++ b/meta/recipes-graphics/harfbuzz/harfbuzz/0001-Do-not-disable-introspection-in-cross-builds.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From df5848f423ec0f4b3e519900014349a0c00b1969 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Mon, 17 Aug 2020 16:36:03 +0200 | ||
4 | Subject: [PATCH] Do not disable introspection in cross builds. | ||
5 | |||
6 | Yocto can and does support introspection cross builds, through | ||
7 | running target binaries under qemu emulation. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
11 | --- | ||
12 | src/meson.build | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/src/meson.build b/src/meson.build | ||
16 | index 1865633..5e1787c 100644 | ||
17 | --- a/src/meson.build | ||
18 | +++ b/src/meson.build | ||
19 | @@ -634,7 +634,7 @@ if have_gobject | ||
20 | gir = find_program('g-ir-scanner', required: get_option('introspection')) | ||
21 | build_gir = gir.found() | ||
22 | |||
23 | - build_gir = build_gir and not meson.is_cross_build() | ||
24 | + build_gir = build_gir | ||
25 | if not build_gir and get_option('introspection').enabled() | ||
26 | error('Introspection support is requested but it isn\'t available in cross builds') | ||
27 | endif | ||