[oe-commits] [openembedded-core] 40/49: json-glib: fix native build

git at git.openembedded.org git at git.openembedded.org
Thu Feb 15 21:52:02 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 747884f42e4556fae0b8abaed4deb4c92ab9cf1c
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Thu Feb 15 12:01:40 2018 +0000

    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 at intel.com>
---
 meta/recipes-gnome/json-glib/json-glib_1.4.2.bb | 4 ++++
 1 file changed, 4 insertions(+)

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 dd67a89..19fe3cc 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list