Skip to content

Commit

Permalink
Update OpenSSL to 1.0.2h, include its headers in package
Browse files Browse the repository at this point in the history
  • Loading branch information
janisozaur authored and IntelOrca committed May 20, 2016
1 parent e74b271 commit 55d2fd2
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ if ($buildOpenSSL)
& ".\build_openssl.bat"
} else {
# Download OpenSSL
$opensslVersion = "1.0.2e"
$opensslVersion = "1.0.2h"
$opensslDownloadUrl = "http://www.npcglib.org/~stathis/downloads/openssl-$opensslVersion-vs2015.7z"
$opensslDownloadOut = ".\openssl-precompiled.7z"
if (-not (Test-Path -PathType Leaf $opensslDownloadOut))
Expand All @@ -111,6 +111,8 @@ if ($buildOpenSSL)
Move-Item ".\src\openssl\lib\libeay32MT.lib" ".\src\openssl\lib\libeay32.lib"
Move-Item ".\src\openssl\lib\ssleay32MT.lib" ".\src\openssl\lib\ssleay32.lib"
Move-Item ".\src\openssl\lib" ".\src\openssl\out32"
Copy-Item -Force ".\src\openssl\out32\ssleay32.lib" $binDir
Copy-Item -Force ".\src\openssl\out32\libeay32.lib" $binDir
}
}

Expand Down Expand Up @@ -163,14 +165,15 @@ CopyHeaders ".\src\breakpad\src\src\common\*.h" "breakp
CopyHeaders ".\src\breakpad\src\src\common\windows\*.h" "breakpad\common\windows"
CopyHeaders ".\src\breakpad\src\src\client\windows\crash_generation\*.h" "breakpad\client\windows\crash_generation"
CopyHeaders ".\src\breakpad\src\src\google_breakpad\common\*.h" "breakpad\google_breakpad\common"
CopyHeaders ".\src\sdl\include\*.h" "sdl"
CopyHeaders ".\src\sdl_ttf\*.h" "sdl_ttf"
CopyHeaders ".\src\libpng\*.h" "libpng"
CopyHeaders ".\src\zlib\*.h" "zlib"
CopyHeaders ".\src\jansson\src\*.h" "jansson"
CopyHeaders ".\src\libspeex\*.h" "libspeex"
CopyHeaders ".\src\libspeex\speex\*.h" "libspeex\speex"
CopyHeaders ".\src\curl\include\curl\*.h" "curl"
CopyHeaders ".\src\sdl\include\*.h" "sdl"
CopyHeaders ".\src\sdl_ttf\*.h" "sdl_ttf"
CopyHeaders ".\src\libpng\*.h" "libpng"
CopyHeaders ".\src\zlib\*.h" "zlib"
CopyHeaders ".\src\jansson\src\*.h" "jansson"
CopyHeaders ".\src\libspeex\*.h" "libspeex"
CopyHeaders ".\src\libspeex\speex\*.h" "libspeex\speex"
CopyHeaders ".\src\curl\include\curl\*.h" "curl"
CopyHeaders ".\src\openssl\inc32\openssl\*.h" "openssl"

Write-Host "-----------------------------------------------------" -ForegroundColor Cyan

Expand Down

0 comments on commit 55d2fd2

Please sign in to comment.