From 293ca84359ea2c1a8b2f3654afde5b700a7a1419 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 4 Apr 2015 08:06:06 -0500 Subject: fix compile, reported by Susheel --- package/json-c/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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* \ -- cgit v1.2.3