[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:
parent
14f5f67885
commit
e3b7b8eb48
@ -34,6 +34,7 @@ define Build/Configure
|
|||||||
--with-openssl="$(STAGING_DIR)/usr/lib" \
|
--with-openssl="$(STAGING_DIR)/usr/lib" \
|
||||||
,\
|
,\
|
||||||
ac_cv_func_dn_skipname=yes \
|
ac_cv_func_dn_skipname=yes \
|
||||||
|
ZLIB_HOME="$(STAGING_DIR)/usr" \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
16
net/bahamut/patches/010-dont-use-host-zlib.patch
Normal file
16
net/bahamut/patches/010-dont-use-host-zlib.patch
Normal 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
|
Loading…
x
Reference in New Issue
Block a user