json-c: build for host

This is needed for the recent cryptsetup version host build.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Baruch Siach 2017-12-23 19:43:02 +02:00 committed by Peter Korsgaard
parent 634bdbd52e
commit 9bbf9833cc

View File

@ -11,7 +11,9 @@ JSON_C_MAKE = $(MAKE1)
JSON_C_CONF_OPTS = --disable-oldname-compat
# AUTORECONF is needed because of Makefile.am.inc patch.
JSON_C_AUTORECONF = YES
HOST_JSON_C_AUTORECONF = YES
JSON_C_LICENSE = MIT
JSON_C_LICENSE_FILES = COPYING
$(eval $(autotools-package))
$(eval $(host-autotools-package))