diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6b8897e..0f2ef79 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,10 +23,10 @@ jobs: if: runner.os == 'Windows' shell: cmd run: | - choco install openssl --no-progress || exit /b + choco install openssl.light --version=1.1.1 --no-progress || exit /b mkdir extern_deps || exit /b - copy "%PROGRAMFILES%\OpenSSL-Win64\lib\VC\libssl64MT.lib" extern_deps\libssl.lib || exit /b - copy "%PROGRAMFILES%\OpenSSL-Win64\lib\VC\libcrypto64MT.lib" extern_deps\libcrypto.lib || exit /b + copy "%PROGRAMFILES%\OpenSSL\lib\VC\libssl64MT.lib" extern_deps\libssl.lib || exit /b + copy "%PROGRAMFILES%\OpenSSL\lib\VC\libcrypto64MT.lib" extern_deps\libcrypto.lib || exit /b echo KAL_EXT_LIB_WIN64=%CD%\extern_deps>> %GITHUB_ENV% - name: dub build diff --git a/dub.sdl b/dub.sdl index 5d02523..41b812a 100644 --- a/dub.sdl +++ b/dub.sdl @@ -6,8 +6,8 @@ dependency "openssl" version=">=3.1.0" dependency "requests" version="~>2" dependency "mir-ion" version=">=1.0.26" libs "ssl" "crypto" platform="posix" -# Windows: get OpenSSL libs via e.g. `choco install openssl`, then copy e.g. -# `C:\Program Files\OpenSSL-Win64\lib\VC\lib{ssl,crypto}64MT.lib` to some +# Windows: get OpenSSL libs via e.g. `choco install openssl.light --version=1.1.1`, +# then copy e.g. `C:\Program Files\OpenSSL\lib\VC\lib{ssl,crypto}64MT.lib` to some # folder and rename to `lib{ssl,crypto}.lib`. Then tell the linker about # this folder, either via LIB environment variable or via /LIBPATH lflag in # your dub.sdl.