diff options
Diffstat (limited to 'package/json-c')
-rw-r--r-- | package/json-c/Makefile | 3 |
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* \ |