Browse Source

fix compile, configure check buggy

Waldemar Brodkorb 10 years ago
parent
commit
2083cd78bf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/afpfs-ng/Makefile

+ 1 - 0
package/afpfs-ng/Makefile

@@ -29,6 +29,7 @@ $(eval $(call PKG_template,LIBAFPCLIENT,libafpclient,$(PKG_VERSION)-${PKG_RELEAS
 
 AUTOTOOL_STYLE:=	autoreconf
 CONFIGURE_ARGS+=	--enable-gcrypt
+CONFIGURE_ENV+=		ac_cv_func_malloc_0_nonnull=yes
 
 post-build:
 	$(INSTALL_DIR) ${WRKINST}/usr/include/afpfs-ng