ci(appveyor): fix packaging of 32-bit OpenSSL libraries one more time

This commit is contained in:
Oleg Shparber 2020-07-03 19:47:38 -04:00
parent 874ed62de6
commit 8adba48f3b

View File

@ -109,8 +109,13 @@ after_build:
AddItem "$binaryDir\*" AddItem "$binaryDir\*"
# OpenSSL is a runtime dependency, so copy it manually. # OpenSSL is a runtime dependency, so copy it manually.
AddItem "${Env:VCPKG_ROOT}\installed\${Env:PLATFORM}-windows\bin\libcrypto-1_1-${Env:PLATFORM}.dll" if ($Env:PLATFORM -eq "x64") {
AddItem "${Env:VCPKG_ROOT}\installed\${Env:PLATFORM}-windows\bin\libssl-1_1-${Env:PLATFORM}.dll" AddItem "${Env:VCPKG_ROOT}\installed\${Env:PLATFORM}-windows\bin\libcrypto-1_1-x64.dll"
AddItem "${Env:VCPKG_ROOT}\installed\${Env:PLATFORM}-windows\bin\libssl-1_1-x64.dll"
} else {
AddItem "${Env:VCPKG_ROOT}\installed\${Env:PLATFORM}-windows\bin\libcrypto-1_1.dll"
AddItem "${Env:VCPKG_ROOT}\installed\${Env:PLATFORM}-windows\bin\libssl-1_1.dll"
}
function AddQtPlugin ($directory, $plugin) { function AddQtPlugin ($directory, $plugin) {
if ( -Not (Test-Path "$deploymentDir\$directory")) { if ( -Not (Test-Path "$deploymentDir\$directory")) {