]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
musl-locales: explicitly depend on gettext-native
authorRoss Burton <ross.burton@arm.com>
Thu, 28 Apr 2022 12:55:59 +0000 (13:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 30 Apr 2022 20:59:32 +0000 (21:59 +0100)
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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/musl/musl-locales_git.bb

index fa814d2bd90c1dc9b01b2092f5c74c023df7aecc..40b20e250d2639ba94ce0395086524b3801061a7 100644 (file)
@@ -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":