Skip to contentSkip to conversation

glibmm: use ${bindir_native}

PATCH New Christian Eggers 1 participant 1 message Nov 4, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glibmm: use ${bindir_native}

With the current ${bindir} the build fails if BBCLASSEXTEND'ing to nativesdk and enabling maintainer-mode.

Fixes 3d0279c18738 ("glibmm: fix reproducibility issues")

---
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(-)
meta-oe/recipes-core/glib-2.0/glibmm_2.66.7.bb +2 -2
index 46519384998d..7c7a3fafb74c 100644
@@ -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
 }
Signature · 1 line
2.43.0