package/json-glib: set -Dintrospection=false

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>
(cherry picked from commit 6afc3edd41)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Alex Xu 2019-07-15 13:18:01 -04:00 committed by Peter Korsgaard
parent cfe35b8543
commit c161675343

View 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))