diff options
author | Kai Kang <kai.kang@windriver.com> | 2024-01-22 17:56:11 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-26 16:06:29 +0000 |
commit | dba0b9044663853f30621bad999420df4428d216 (patch) | |
tree | fd6ed548e94ea1bef54f3cebef06edea9291383b /meta/recipes-graphics | |
parent | f456f7b8969b250150f2e2b9f47e0ece5aeabc45 (diff) | |
download | poky-dba0b9044663853f30621bad999420df4428d216.tar.gz |
nativesdk-cairo: fix build error
It fails to build nativesdk-cairo:
| ../cairo-1.18.0/meson.build:381:13: ERROR: Can not run test
applications in this cross environment.
Set meson property ipc_rmid_deferred_release in cross-file to fix the
issue which is as same as for target cairo
(From OE-Core rev: e7388c4b351baa56be596af405730c8626b572da)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/cairo/cairo_1.18.0.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-graphics/cairo/cairo_1.18.0.bb b/meta/recipes-graphics/cairo/cairo_1.18.0.bb index fe72537b77..4c97e973d0 100644 --- a/meta/recipes-graphics/cairo/cairo_1.18.0.bb +++ b/meta/recipes-graphics/cairo/cairo_1.18.0.bb | |||
@@ -38,12 +38,13 @@ inherit meson pkgconfig upstream-version-is-even gtk-doc multilib_script | |||
38 | 38 | ||
39 | # if qemu usermode isn't available, this value needs to be set statically | 39 | # if qemu usermode isn't available, this value needs to be set statically |
40 | # (otherwise it's determinted by running a small target executable with qemu) | 40 | # (otherwise it's determinted by running a small target executable with qemu) |
41 | do_write_config:append:class-target() { | 41 | do_write_config:append() { |
42 | cat >${WORKDIR}/cairo.cross <<EOF | 42 | cat >${WORKDIR}/cairo.cross <<EOF |
43 | [properties] | 43 | [properties] |
44 | ipc_rmid_deferred_release = 'true' | 44 | ipc_rmid_deferred_release = 'true' |
45 | EOF | 45 | EOF |
46 | } | 46 | } |
47 | EXTRA_OEMESON:append:class-nativesdk = "${@' --cross-file ${WORKDIR}/cairo.cross' if d.getVar('EXEWRAPPER_ENABLED') == 'False' else ''}" | ||
47 | EXTRA_OEMESON:append:class-target = "${@' --cross-file ${WORKDIR}/cairo.cross' if d.getVar('EXEWRAPPER_ENABLED') == 'False' else ''}" | 48 | EXTRA_OEMESON:append:class-target = "${@' --cross-file ${WORKDIR}/cairo.cross' if d.getVar('EXEWRAPPER_ENABLED') == 'False' else ''}" |
48 | 49 | ||
49 | GTKDOC_MESON_OPTION = "gtk_doc" | 50 | GTKDOC_MESON_OPTION = "gtk_doc" |