From 5c51c0daf36237ef9ab97221d64fd0a8cf277b2d Mon Sep 17 00:00:00 2001 From: lijunlong Date: Mon, 14 Jul 2025 15:52:11 +0800 Subject: [PATCH] bugfix: fixed build-win32.sh. --- util/build-win32.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/util/build-win32.sh b/util/build-win32.sh index 90587f3..bdd4c21 100644 --- a/util/build-win32.sh +++ b/util/build-win32.sh @@ -5,9 +5,9 @@ ZLIB=zlib-1.3.1 OPENSSL=openssl-3.5.1 JOBS=12 -# wget https://github.com/openssl/openssl/releases/download/openssl-3.5.1/openssl-3.5.1.tar.gz -# wget http://zlib.net/zlib-1.3.1.tar.gz -# wget https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.45/pcre2-10.45.tar.gz +if [ ! -f ../$OPENSSL.tar.gz ]; then wget -O ../$OPENSSL.tar.gz https://github.com/openssl/openssl/releases/download/$OPENSSL/$OPENSSL.tar.gz; fi +if [ ! -f ../$ZLIB.tar.gz ]; then wget -O ../$ZLIB.tar.gz http://zlib.net/$ZLIB.tar.gz; fi +if [ ! -f ../$PCRE.tar.gz ]; then wget -O ../$PCRE.tar.gz https://github.com/PCRE2Project/pcre2/releases/download/$PCRE/$PCRE.tar.gz; fi rm -rf objs || exit 1 mkdir -p objs/lib || exit 1 @@ -62,3 +62,4 @@ cd ../../.. make -j$JOBS || exit 1 exec make install +