summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-04-28 13:55:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-30 22:00:20 +0100
commitc81eec622d18884855434c6e86c040004f015a62 (patch)
tree994c6e996a48fd4cc672699235e74efe376c3fee
parentf2022327f4d9373433fc2999dc3cc784e1b2fbb6 (diff)
downloadpoky-c81eec622d18884855434c6e86c040004f015a62.tar.gz
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>
-rw-r--r--meta/recipes-core/musl/musl-locales_git.bb6
1 files 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"
14 14
15S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
16 16
17DEPENDS = "virtual/libintl" 17DEPENDS = "virtual/libintl gettext-native"
18 18
19PROVIDES = "virtual/libc-locale" 19PROVIDES = "virtual/libc-locale"
20 20
21inherit cmake gettext 21inherit cmake
22 22
23EXTRA_OECMAKE = ""
24#
25# We will skip parsing for non-musl systems 23# We will skip parsing for non-musl systems
26python () { 24python () {
27 if d.getVar('TCLIBC') != "musl": 25 if d.getVar('TCLIBC') != "musl":