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 <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2022-04-28 13:55:59 +01:00
committed by Richard Purdie
parent f2022327f4
commit c81eec622d

View 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":