From 2a75c82fe090124bf8ffcc2c6047f095e6257271 Mon Sep 17 00:00:00 2001 From: derrod Date: Mon, 23 Jan 2023 05:33:27 +0100 Subject: [PATCH] deps.windows: Build libcurl statically with brotli/nghttp2 --- deps.windows/30-curl.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deps.windows/30-curl.ps1 b/deps.windows/30-curl.ps1 index d5a1ae9c3..a4b27e54d 100644 --- a/deps.windows/30-curl.ps1 +++ b/deps.windows/30-curl.ps1 @@ -36,9 +36,13 @@ function Configure { $CmakeOptions '-DBUILD_CURL_EXE=OFF' '-DBUILD_TESTING=OFF' + '-DBUILD_SHARED_LIBS=OFF' '-DCURL_USE_LIBSSH2=OFF' '-DCURL_USE_SCHANNEL=ON' '-DCURL_ZLIB=OFF' + '-DCURL_BROTLI=ON' + '-DUSE_NGHTTP2=ON' + '-DNGHTTP2_STATICLIB=1' ) Invoke-External cmake -S . -B "build_${Target}" @Options