diff options
author | Ross Burton <ross.burton@arm.com> | 2022-04-28 13:55:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-30 22:00:20 +0100 |
commit | c81eec622d18884855434c6e86c040004f015a62 (patch) | |
tree | 994c6e996a48fd4cc672699235e74efe376c3fee /meta/recipes-core | |
parent | f2022327f4d9373433fc2999dc3cc784e1b2fbb6 (diff) | |
download | poky-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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/musl/musl-locales_git.bb | 6 |
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 | ||
15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
16 | 16 | ||
17 | DEPENDS = "virtual/libintl" | 17 | DEPENDS = "virtual/libintl gettext-native" |
18 | 18 | ||
19 | PROVIDES = "virtual/libc-locale" | 19 | PROVIDES = "virtual/libc-locale" |
20 | 20 | ||
21 | inherit cmake gettext | 21 | inherit cmake |
22 | 22 | ||
23 | EXTRA_OECMAKE = "" | ||
24 | # | ||
25 | # We will skip parsing for non-musl systems | 23 | # We will skip parsing for non-musl systems |
26 | python () { | 24 | python () { |
27 | if d.getVar('TCLIBC') != "musl": | 25 | if d.getVar('TCLIBC') != "musl": |