Bundle OpenSSL libs on AppVeyor (#984)

This commit is contained in:
Paul I 2018-12-03 22:39:51 +03:00 committed by Itay Cohen
parent 3347ec0b16
commit cf501d2606
2 changed files with 7 additions and 0 deletions

View File

@ -51,6 +51,7 @@ build_script:
after_build:
- cmd: if defined QMAKE ( set "PATH=%CD%\r2_dist_%ARCH%;%PATH%" && powershell scripts\bundle_r2dec.ps1 "%CD%\%ARTIFACT_PATH%" )
- cmd: powershell scripts\bundle_openssl.ps1 %ARCH% "%CD%\%ARTIFACT_PATH%"
- ps: $env:py_version = (python --version).Split()[1]
- ps: $env:py_platform = If ($env:ARCH -eq "x64") {"amd64"} Else {"win32"}
- ps: $env:py_url = "https://www.python.org/ftp/python/${env:py_version}/python-${env:py_version}-embed-${env:py_platform}.zip"

View File

@ -0,0 +1,6 @@
$arch = $args[0]
$dist = $args[1]
$libpath = If ($arch -eq "x64") {"C:\OpenSSL-Win64\bin"} Else {"C:\OpenSSL-Win32\bin"}
Copy-Item $libpath\libeay32.dll -Destination $dist
Copy-Item $libpath\ssleay32.dll -Destination $dist