瀏覽代碼

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>
Ross Burton 7 年之前
父節點
當前提交
83402fb9cb
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      meta/recipes-gnome/json-glib/json-glib_1.4.2.bb

+ 4 - 0
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"