1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-06 14:49:50 +00:00

glib: improve gettext enabling/disabling

As we only seed gettext's msgfmt as /bin/false for native builds, explicitly set
USE_NLS to yes in the recipe (as it was previously) for targeget and nativesdk
builds.

(From OE-Core rev: 1b1f382af69a2d63f2ddd526cde430fb68c9ca6e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2018-01-16 14:02:52 +00:00
committed by Richard Purdie
parent f2d7b5b2ee
commit d7e8acc9a3
+4
View File
@@ -85,6 +85,10 @@ ARM_INSTRUCTION_SET_armv5 = "arm"
# doesn't support mips16e
CPPFLAGS_append_class-target_mips16e = " -DNVALGRIND=1"
# GLib generally requires gettext to be present so for USE_NLS to yes. For
# native builds as i18n is disabled globally we can tell it to use a fake msgfmt.
USE_NLS_class-target = "yes"
USE_NLS_class-nativesdk = "yes"
CACHED_CONFIGUREVARS_append_class-native = " ac_cv_path_MSGFMT=/bin/false"
do_install_append () {