Explorar o código

fix compile, reported by Susheel

Waldemar Brodkorb %!s(int64=11) %!d(string=hai) anos
pai
achega
293ca84359
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      package/json-c/Makefile

+ 3 - 0
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* \