From c81eec622d18884855434c6e86c040004f015a62 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 28 Apr 2022 13:55:59 +0100 Subject: [PATCH] musl-locales: explicitly depend on gettext-native The gettext class is designed for use by applications with optional NLS support: depending on the value of USE_NLS it will either depend on gettext-minimal-native (just the autoconf macros) or gettext-native, and will pass --enable-nls/--disable-nls as appropriate. However, musl-locales specifically needs to run msgfmt at runtime, so explicitly depend on gettext-native instead. Also remove the redundant EXTRA_OECMAKE assignment. (From OE-Core rev: 77ae1fe772f12677f9d86946d09d10534845723f) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-core/musl/musl-locales_git.bb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meta/recipes-core/musl/musl-locales_git.bb b/meta/recipes-core/musl/musl-locales_git.bb index fa814d2bd9..40b20e250d 100644 --- a/meta/recipes-core/musl/musl-locales_git.bb +++ b/meta/recipes-core/musl/musl-locales_git.bb @@ -14,14 +14,12 @@ SRCREV = "1101fb2bcdd189cd9415b8bd1c775eb43527d25c" S = "${WORKDIR}/git" -DEPENDS = "virtual/libintl" +DEPENDS = "virtual/libintl gettext-native" PROVIDES = "virtual/libc-locale" -inherit cmake gettext +inherit cmake -EXTRA_OECMAKE = "" -# # We will skip parsing for non-musl systems python () { if d.getVar('TCLIBC') != "musl":