![Alex Xu](/assets/img/avatar_default.png)
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>
25 lines
717 B
Makefile
25 lines
717 B
Makefile
################################################################################
|
|
#
|
|
# json-glib
|
|
#
|
|
################################################################################
|
|
|
|
JSON_GLIB_VERSION_MAJOR = 1.4
|
|
JSON_GLIB_VERSION = $(JSON_GLIB_VERSION_MAJOR).4
|
|
JSON_GLIB_SITE = http://ftp.gnome.org/pub/GNOME/sources/json-glib/$(JSON_GLIB_VERSION_MAJOR)
|
|
JSON_GLIB_SOURCE = json-glib-$(JSON_GLIB_VERSION).tar.xz
|
|
JSON_GLIB_LICENSE = LGPL-2.1+
|
|
JSON_GLIB_LICENSE_FILES = COPYING
|
|
JSON_GLIB_INSTALL_STAGING = YES
|
|
|
|
JSON_GLIB_DEPENDENCIES = \
|
|
$(TARGET_NLS_DEPENDENCIES) \
|
|
host-pkgconf \
|
|
libglib2
|
|
|
|
JSON_GLIB_CONF_OPTS = -Dintrospection=false
|
|
|
|
JSON_GLIB_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
|
|
|
$(eval $(meson-package))
|