Add zlib-ng library
This commit is contained in:
@@ -41,20 +41,20 @@ if [ ! -f "lib/pcre/configure" ]; then
|
||||
fi
|
||||
|
||||
### ZLIB reconf
|
||||
if [ "$BITCHK" = 64 ]; then
|
||||
if [ ! -f "lib/zlib/Makefile" ]; then
|
||||
cd lib/zlib
|
||||
./configure --64
|
||||
cd ../..
|
||||
fi
|
||||
else
|
||||
if [ ! -f "lib/zlib_x86/Makefile" ]; then
|
||||
git submodule add --force https://github.com/madler/zlib.git lib/zlib_x86
|
||||
cd lib/zlib_x86
|
||||
./configure
|
||||
cd ../..
|
||||
fi
|
||||
fi
|
||||
#if [ "$BITCHK" = 64 ]; then
|
||||
# if [ ! -f "lib/zlib/Makefile" ]; then
|
||||
# cd lib/zlib
|
||||
# ./configure --64
|
||||
# cd ../..
|
||||
# fi
|
||||
#else
|
||||
# if [ ! -f "lib/zlib_x86/Makefile" ]; then
|
||||
# git submodule add --force https://github.com/madler/zlib.git lib/zlib_x86
|
||||
# cd lib/zlib_x86
|
||||
# ./configure
|
||||
# cd ../..
|
||||
# fi
|
||||
#fi
|
||||
|
||||
### PSOL Download (PageSpeed)
|
||||
if [ ! -d "lib/pagespeed" ] && [ "$PAGESPEED" = 1 ]; then
|
||||
@@ -74,7 +74,8 @@ fi
|
||||
|
||||
### x86, x64 Check (Configuration)
|
||||
if [ "$BITCHK" = 64 ]; then
|
||||
BUILD_BIT="-m64 "
|
||||
# Temporary remove
|
||||
#BUILD_BIT="-m64 "
|
||||
BUILD_ZLIB="./lib/zlib"
|
||||
BUILD_LD="-lrt -ljemalloc -Wl,-z,relro -Wl,-z,now -fPIC"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user