diff --git a/win/build.sh b/win/build.sh index e5b58641..58055d1b 100644 --- a/win/build.sh +++ b/win/build.sh @@ -61,9 +61,9 @@ sed -i 's/-DUSE_NGHTTP2/-DUSE_NGHTTP2 -DNGHTTP2_STATICLIB/g' src/Makefile.mk sed -i 's/-lidn2/-lidn2 -lunistring -liconv/g' lib/Makefile.mk sed -i 's/-lidn2/-lidn2 -lunistring -liconv/g' src/Makefile.mk -cmake -B build -G "MinGW Makefiles" -mingw32-make -f Makefile.dist mingw32-clean -mingw32-make -f Makefile.dist mingw32 -j CFLAGS="-DUSE_HTTP2=1 -DUSE_WEBSOCKETS=1 -DUSE_ECH=1 -Wno-unused-variable" CFG=-ssl-zlib-nghttp2-idn2-brotli-zstd-ipv6 +cmake -G "MinGW Makefiles" +mingw32-make clean +mingw32-make -j CFLAGS="-DUSE_HTTP2=1 -DUSE_WEBSOCKETS=1 -DUSE_ECH=1 -Wno-unused-variable" CFG=-ssl-zlib-nghttp2-idn2-brotli-zstd-ipv6 mkdir -p ../dist mv lib/libcurl* ../dist/