aboutsummaryrefslogtreecommitdiff
path: root/package/json-c
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2018-08-28 17:54:47 +0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-08-28 17:12:46 +0200
commit3a3601fe583f937f433e03f954f1ee93ac01b537 (patch)
tree027e61a9c164afdcca11c460086e59f46f7fa72a /package/json-c
parent511309cdbf69d13ac759fbaf237b8298c87a9e22 (diff)
downloadbuildroot-3a3601fe583f937f433e03f954f1ee93ac01b537.tar.gz
buildroot-3a3601fe583f937f433e03f954f1ee93ac01b537.tar.bz2
json-c: needs host-autoconf
The json-c configure script uses the autoheader utility. Use the host-autoconf provided autoheader, as this tool is not always installed on the host. Fixes: http://autobuild.buildroot.net/results/030/030fddceda4f5bc6379f7bfcc405e92d2e24184a/ http://autobuild.buildroot.net/results/e48/e482f174b8124ace0690a26bb7daf073fe5fcd75/ http://autobuild.buildroot.net/results/482/4829425c38c58d9844aa07108532a93d47191d23/ Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/json-c')
-rw-r--r--package/json-c/json-c.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/json-c/json-c.mk b/package/json-c/json-c.mk
index 57d8c35dd5..bee57577ce 100644
--- a/package/json-c/json-c.mk
+++ b/package/json-c/json-c.mk
@@ -10,5 +10,9 @@ JSON_C_INSTALL_STAGING = YES
JSON_C_LICENSE = MIT
JSON_C_LICENSE_FILES = COPYING
+# configure requires autoheader
+JSON_C_DEPENDENCIES = host-autoconf
+HOST_JSON_C_DEPENDENCIES = host-autoconf
+
$(eval $(autotools-package))
$(eval $(host-autotools-package))