From 05ecd76619417d386c68158026b3aa24de01dbf0 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Thu, 2 Feb 2023 14:04:01 -0800 Subject: [PATCH] windows: convert swift-crypto to static linking We should be able to use static linking here without negatively impacting code size. --- utils/build-windows-toolchain.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/build-windows-toolchain.bat b/utils/build-windows-toolchain.bat index e4a2fd1932822..4aebd8ba8f7c0 100644 --- a/utils/build-windows-toolchain.bat +++ b/utils/build-windows-toolchain.bat @@ -511,6 +511,7 @@ cmake --build %BuildRoot%\11 --target install || (exit /b) cmake ^ -B %BuildRoot%\12 ^ + -D BUILD_SHARED_LIBS=NO ^ -D CMAKE_BUILD_TYPE=%CMAKE_BUILD_TYPE% ^ -D CMAKE_C_COMPILER=cl ^ -D CMAKE_C_FLAGS="/GS- /Oy /Gw /Gy" ^