summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-02-15 12:01:40 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-16 18:05:27 +0000
commit1d66481027bcb48deb4e7a89d889ee1b1d16cb40 (patch)
tree0fc5cb18055521f276a4bf7ca303baae6ff065e2
parenta1e732fac218e6620fe5b515b5b3f3b139bea76d (diff)
downloadopenembedded-core-contrib-1d66481027bcb48deb4e7a89d889ee1b1d16cb40.tar.gz
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. Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-gnome/json-glib/json-glib_1.4.2.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-gnome/json-glib/json-glib_1.4.2.bb b/meta/recipes-gnome/json-glib/json-glib_1.4.2.bb
index dd67a8907b..19fe3cc442 100644
--- a/meta/recipes-gnome/json-glib/json-glib_1.4.2.bb
+++ b/meta/recipes-gnome/json-glib/json-glib_1.4.2.bb
@@ -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"