summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-04 08:06:06 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-04 08:06:30 -0500
commit293ca84359ea2c1a8b2f3654afde5b700a7a1419 (patch)
tree395693b54f6bf05bf39f4f8f01280f8d1adb2c0f
parent14f3d5c637682dcc216ced2c941b9a526c0d6b6e (diff)
fix compile, reported by Susheel
-rw-r--r--package/json-c/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/json-c/Makefile b/package/json-c/Makefile
index bc650baea..525b354df 100644
--- a/package/json-c/Makefile
+++ b/package/json-c/Makefile
@@ -20,6 +20,9 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,JSON_C,json-c,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes \
+ ac_cv_func_realloc_0_nonnull=yes
+
json-c-install:
$(INSTALL_DIR) $(IDIR_JSON_C)/usr/lib
$(CP) $(WRKINST)/usr/lib/libjson*.so* \