--with-openssl="$(STAGING_DIR)/usr/lib" \
,\
ac_cv_func_dn_skipname=yes \
+ ZLIB_HOME="$(STAGING_DIR)/usr" \
)
endef
--- /dev/null
+diff --git a/configure b/configure
+index 4ef7659..c774c65 100755
+--- a/configure
++++ b/configure
+@@ -8009,11 +8009,6 @@ fi
+ # zlib test
+ # ripped from http://autoconf-archive.cryp.to/check_zlib.html
+ #
+-ZLIB_HOME=/usr/local
+-if test ! -f "${ZLIB_HOME}/include/zlib.h"
+-then
+- ZLIB_HOME=/usr
+-fi
+ if test -n "${ZLIB_HOME}"
+ then
+ ZLIB_OLD_LDFLAGS=$LDFLAGS