Skip to content

Commit f12d485

Browse files
committed
Use choco to install openssl, like in SDK
1 parent d469002 commit f12d485

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

program-test/install-build-deps.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
set -e
33
case $(uname -s | cut -c1-7) in
44
"Windows" | "MINGW64")
5-
vcpkg install openssl:x64-windows-static-md
6-
vcpkg integrate install
5+
export PERL="$(which perl)"
6+
export OPENSSL_SRC_PERL="$(which perl)"
7+
choco install openssl --version 3.4.1 --install-arguments="'/DIR=C:\OpenSSL'" -y
8+
export OPENSSL_LIB_DIR='C:\OpenSSL\lib\VC\x64\MT'
9+
export OPENSSL_INCLUDE_DIR='C:\OpenSSL\include'
710
choco install protoc
811
export PROTOC='C:\ProgramData\chocolatey\lib\protoc\tools\bin\protoc.exe'
912
;;

0 commit comments

Comments
 (0)