mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
package/json-glib: add host build
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org> [yann.morin.1998@free.fr: also disable doc and tests] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
49fa6ebb71
commit
1608313eff
@@ -18,6 +18,15 @@ JSON_GLIB_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
libglib2
|
||||
|
||||
HOST_JSON_GLIB_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
host-libglib2
|
||||
|
||||
HOST_JSON_GLIB_CONF_OPTS = \
|
||||
-Dgtk_doc=disabled \
|
||||
-Dtests=false \
|
||||
-Dintrospection=disabled
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
||||
JSON_GLIB_CONF_OPTS += -Dintrospection=enabled
|
||||
JSON_GLIB_DEPENDENCIES += gobject-introspection
|
||||
@@ -34,3 +43,4 @@ endif
|
||||
JSON_GLIB_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
||||
|
||||
$(eval $(meson-package))
|
||||
$(eval $(host-meson-package))
|
||||
|
||||
Reference in New Issue
Block a user