1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

glib-2.0: install gio-querymodules into bindir as well as libexecdir for native

Latest meson expects it there and fails if it can't find it; meanwhile
we patch glib to put it into libexecdir for reasons of avoiding incorrect
debian package renaming in multilib scenarios.

(From OE-Core rev: cd530108e1b31ff3dff9e677e8e5af920e6609aa)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2023-11-27 11:17:48 +01:00
committed by Richard Purdie
parent c4f87eda9e
commit 1b6368ed09
+5
View File
@@ -113,6 +113,11 @@ do_install:append () {
mkdir -p ${D}${libdir}/gio/modules
}
do_install:append:class-native () {
# Link gio-querymodules into ${bindir} as otherwise tools like meson won't find it
ln -rs ${D}${libexecdir}/gio-querymodules ${D}${bindir}
}
do_install:append:class-target () {
# Tests are only installed on targets, not native builds. Separating this out
# keeps glib-2.0-native from depending on DISTRO_FEATURES