mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
Bundle OpenSSL libs on AppVeyor (#984)
This commit is contained in:
parent
3347ec0b16
commit
cf501d2606
@ -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"
|
||||
|
6
scripts/bundle_openssl.ps1
Normal file
6
scripts/bundle_openssl.ps1
Normal 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
|
Loading…
Reference in New Issue
Block a user