]> code.ossystems Code Review - openembedded-core.git/commitdiff
json-glib: fix native build
authorRoss Burton <ross.burton@intel.com>
Thu, 15 Feb 2018 12:01:40 +0000 (12:01 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Feb 2018 18:05:27 +0000 (18:05 +0000)
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>
meta/recipes-gnome/json-glib/json-glib_1.4.2.bb

index dd67a8907bd16403eb296cd3f1148615f1a9dbdc..19fe3cc44274ad4d4c094dafd57310e88fd7a04f 100644 (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"