]> code.ossystems Code Review - openembedded-core.git/commit
glib: remove gettext-native dependency for native builds
authorRoss Burton <ross.burton@intel.com>
Tue, 9 Jan 2018 17:50:06 +0000 (17:50 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 14 Jan 2018 09:11:27 +0000 (09:11 +0000)
commit1ef45d377519983df827650cd0913e0d2c8a785b
treee8e6c7c113d70ac84a4d0f8f341a72b99b7c5105
parent6d56f14a7276f076dfe625bc4d2c16a6a4635153
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@intel.com>
meta/recipes-core/glib-2.0/glib.inc