[packages] bahamut: Don't use hosts zlib

git-svn-id: svn://svn.openwrt.org/openwrt/packages@19729 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
lars 2010-02-19 04:11:47 +00:00
parent 14f5f67885
commit e3b7b8eb48
2 changed files with 17 additions and 0 deletions

View File

@ -34,6 +34,7 @@ define Build/Configure
--with-openssl="$(STAGING_DIR)/usr/lib" \
,\
ac_cv_func_dn_skipname=yes \
ZLIB_HOME="$(STAGING_DIR)/usr" \
)
endef

View File

@ -0,0 +1,16 @@
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