[oe-commits] [openembedded-core] 09/15: glib: remove gettext-native dependency for native builds
git at git.openembedded.org
git at git.openembedded.org
Sun Jan 14 11:12:42 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit 1ef45d377519983df827650cd0913e0d2c8a785b
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Tue Jan 9 17:50:06 2018 +0000
glib: remove gettext-native dependency for native builds
By removing gettext-native as a build dependency in glib-2.0-native we can delay
the build of gettext-native further. The gettext class will add the dependency
for target builds.
Don't forcibly set USE_NLS=yes so that NLS support is supposedly disabled in
native builds. GLib will then force it back on, but we shouldn't be using it in
any other native recipes so seed the autoconf cache so GLib will run /bin/false
instead of msgfmt. Quite a kludge, but it works and should fail obviously if
the kludge stops being sufficient.
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-core/glib-2.0/glib.inc | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index b374f6b..354d95c 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -20,7 +20,6 @@ CVE_PRODUCT = "glib"
BBCLASSEXTEND = "native nativesdk"
DEPENDS = "glib-2.0-native \
- gettext-native \
virtual/libintl \
virtual/libiconv \
libffi \
@@ -86,7 +85,7 @@ ARM_INSTRUCTION_SET_armv5 = "arm"
# doesn't support mips16e
CPPFLAGS_append_class-target_mips16e = " -DNVALGRIND=1"
-USE_NLS = "yes"
+CACHED_CONFIGUREVARS_append_class-native = " ac_cv_path_MSGFMT=/bin/false"
do_install_append () {
if [ -f ${D}${bindir}/gtester-report ]; then
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list