mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
feature: added 64-bit windows building/packaging support using the MSYS2/MinGW toolchain.
This commit is contained in:
@ -2,11 +2,12 @@
|
||||
|
||||
PCRE=pcre-8.42
|
||||
ZLIB=zlib-1.2.11
|
||||
OPENSSL=openssl-1.0.2n
|
||||
OPENSSL=openssl-1.1.0h
|
||||
JOBS=9
|
||||
|
||||
# wget https://www.openssl.org/source/openssl-1.0.2k.tar.gz
|
||||
# wget https://www.openssl.org/source/openssl-1.1.0h.tar.gz
|
||||
# wget http://zlib.net/zlib-1.2.11.tar.gz
|
||||
# wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.40.tar.gz
|
||||
# wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.42.tar.gz
|
||||
|
||||
rm -rf objs || exit 1
|
||||
mkdir -p objs/lib || exit 1
|
||||
@ -18,7 +19,8 @@ tar -xf ../../../$PCRE.tar.gz || exit 1
|
||||
cd ../..
|
||||
|
||||
cd objs/lib/$OPENSSL || exit 1
|
||||
patch -p1 < ../../../patches/openssl-1.0.2h-sess_set_get_cb_yield.patch || exit 1
|
||||
patch -p1 < ../../../patches/openssl-1.1.0d-sess_set_get_cb_yield.patch \
|
||||
|| exit 1
|
||||
cd ../../..
|
||||
|
||||
#--with-openssl-opt="no-asm" \
|
||||
@ -57,7 +59,7 @@ cd ../../..
|
||||
--with-pcre=objs/lib/$PCRE \
|
||||
--with-zlib=objs/lib/$ZLIB \
|
||||
--with-openssl=objs/lib/$OPENSSL \
|
||||
-j5 || exit 1
|
||||
#gmake -j5
|
||||
make || exit 1
|
||||
make install
|
||||
-j$JOBS || exit 1
|
||||
|
||||
make -j$JOBS || exit 1
|
||||
exec make install
|
||||
|
Reference in New Issue
Block a user