summaryrefslogtreecommitdiff
path: root/package/autossh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-04 11:15:39 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-04 12:18:48 +0200
commit9f0e8cf6c907bb9ddb36d32d234bf49abd248380 (patch)
treea2fb491b3ee83f847d958f478dced9074a9be8ce /package/autossh
parente38b3ae4013ecf93d07ddbf68bad8fc5441ff9c5 (diff)
force malloc/realloc detection
Diffstat (limited to 'package/autossh')
-rw-r--r--package/autossh/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/autossh/Makefile b/package/autossh/Makefile
index 8e21c93c5..6e0f4306b 100644
--- a/package/autossh/Makefile
+++ b/package/autossh/Makefile
@@ -19,6 +19,9 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,AUTOSSH,autossh,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+CONFIGURE_ENV+= ac_cv_func_malloc_0_nonnull=yes \
+ ac_cv_func_realloc_0_nonnull=yes
+
autossh-install:
$(INSTALL_DIR) $(IDIR_AUTOSSH)/usr/bin
$(INSTALL_BIN) $(WRKBUILD)/autossh $(IDIR_AUTOSSH)/usr/bin