Skip to content

Commit

Permalink
Update Windows build command
Browse files Browse the repository at this point in the history
  • Loading branch information
yifeikong committed May 13, 2024
1 parent ea90c96 commit 7983971
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions win/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +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

# print all options
cmake -LAH

cmake -G "MinGW Makefiles" \
-DUSE_NGHTTP2=ON \
-DENABLE_WEBSOCKETS=ON \
Expand All @@ -69,6 +72,7 @@ cmake -G "MinGW Makefiles" \
-DCURL_BROTLI=ON \
-DENABLE_IPV6=ON \
-DCURL_ENABLE_SSL=ON \
-DCURL_USE_OPENSSL=ON \


mingw32-make clean
Expand Down

0 comments on commit 7983971

Please sign in to comment.