package/json-glib: set -Dintrospection=false
authorAlex Xu <alex_y_xu@yahoo.ca>
Mon, 15 Jul 2019 17:18:01 +0000 (13:18 -0400)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 17 Jul 2019 05:30:19 +0000 (07:30 +0200)
When -Dintrospection=false is not passed, the meson script
auto-detects the host g-ir-scanner, which is not usable in a
cross-compile environment.

Signed-off-by: Alex Xu <alex_y_xu@yahoo.ca>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/json-glib/json-glib.mk

index 0879c772b59133e5abe2236e9138f7bcd913ac16..7405b28b2e905d37cce7944e6b0be1be97429797 100644 (file)
@@ -17,6 +17,8 @@ JSON_GLIB_DEPENDENCIES = \
        host-pkgconf \
        libglib2
 
+JSON_GLIB_CONF_OPTS = -Dintrospection=false
+
 JSON_GLIB_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
 
 $(eval $(meson-package))