json-glib: fix native build

Meson can't be told to disable gettext support like autotools can, so for now we
need to force NLS on for the json-glib-native build.

https://github.com/mesonbuild/meson/issues/821 is the upstream Meson bug.

(From OE-Core rev: 1d66481027bcb48deb4e7a89d889ee1b1d16cb40)

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-02-15 12:01:40 +00:00
committed by Richard Purdie
parent 049027e16d
commit 83402fb9cb

View File

@@ -34,3 +34,7 @@ do_install_append() {
}
BBCLASSEXTEND = "native nativesdk"
# Currently it's not possible to disable gettext in Meson, so we need to force
# this back on.
USE_NLS_class-native = "yes"