Skip to content

Commit

Permalink
Fix CFG
Browse files Browse the repository at this point in the history
  • Loading branch information
perklet committed Dec 30, 2023
1 parent de4a375 commit 5f89d7d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions win/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ mv lib/ssl/libssl.a lib/libssl.a

cd ..

export ZLIB=1
export ZLIB_PATH=zlib_stub
export ZSTD_PATH=zstd_stub
export BROTLI_PATH=brotli_stub
Expand All @@ -38,7 +37,6 @@ export OPENSSL_PATH=$PWD/boringssl
export OPENSSL_LIBPATH=$PWD/boringssl/lib
export OPENSSL_LIBS='-lssl -lcrypto'

export IPV6=1
export HTTP2=1
export WEBSOCKETS=1
export ECH=1
Expand Down Expand Up @@ -68,7 +66,7 @@ sed -i 's/-lidn2/-lidn2 -lunistring -liconv/g' lib/Makefile.mk
sed -i 's/-lidn2/-lidn2 -lunistring -liconv/g' src/Makefile.mk

# mingw32-make -f Makefile.dist mingw32-clean CFLAGS=-Wno-unused-variable
mingw32-make -f Makefile.dist mingw32 -j CFLAGS=-Wno-unused-variable CFG=-zlib,-nghttp2,-idn2,-brotli,-zstd,-ssl
mingw32-make -f Makefile.dist mingw32 -j CFLAGS=-Wno-unused-variable CFG=-zlib-nghttp2-idn2-brotli-zstd-ssl-ipv6

mkdir -p ../dist
mv lib/libcurl* ../dist/
Expand Down

0 comments on commit 5f89d7d

Please sign in to comment.