diff mbox series

glibmm: use ${bindir_native}

Message ID 20241104150704.24868-1-ceggers@arri.de
State New
Headers show
Series glibmm: use ${bindir_native} | expand

Commit Message

Christian Eggers Nov. 4, 2024, 3:07 p.m. UTC
With the current ${bindir} the build fails if BBCLASSEXTEND'ing to
nativesdk and enabling maintainer-mode.

Fixes: 3d0279c18738 ("glibmm: fix reproducibility issues")
Signed-off-by: Christian Eggers <ceggers@arri.de>
---
N.B. Enabling maintainer-mode (e.g. after adding patches) needs further
packages in DEPENDS, but I think this should be bbappend'ed locally.

 meta-oe/recipes-core/glib-2.0/glibmm_2.66.7.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-core/glib-2.0/glibmm_2.66.7.bb b/meta-oe/recipes-core/glib-2.0/glibmm_2.66.7.bb
index 46519384998d..7c7a3fafb74c 100644
--- a/meta-oe/recipes-core/glib-2.0/glibmm_2.66.7.bb
+++ b/meta-oe/recipes-core/glib-2.0/glibmm_2.66.7.bb
@@ -24,7 +24,7 @@  EXTRA_OEMESON += "--cross-file=${WORKDIR}/meson-${PN}.cross -Dmaintainer-mode=fa
 do_write_config:append() {
     cat >${WORKDIR}/meson-${PN}.cross <<EOF
 [binaries]
-m4 = '${bindir}/m4'
-perl = '${bindir}/perl'
+m4 = '${bindir_native}/m4'
+perl = '${bindir_native}/perl'
 EOF
 }