aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2017-12-23 19:43:02 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-12-26 19:56:29 +0100
commit9bbf9833cc03582366ab522754986a9dbbf4a790 (patch)
treed1a3aa217159d2ea463e0d387e0653dbf1270a3f
parent634bdbd52e7451b615b8972f0d3973e5b76ef987 (diff)
downloadbuildroot-9bbf9833cc03582366ab522754986a9dbbf4a790.tar.gz
buildroot-9bbf9833cc03582366ab522754986a9dbbf4a790.tar.bz2
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>
-rw-r--r--package/json-c/json-c.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/json-c/json-c.mk b/package/json-c/json-c.mk
index 7adbcafa72..86636d7433 100644
--- a/package/json-c/json-c.mk
+++ b/package/json-c/json-c.mk
@@ -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))