Appveyor - make sure to actually build "shared" in the shared configuration

Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
Richard Levitte 2016-03-16 14:58:17 +01:00
parent 8a0333c979
commit f527b6e465

View file

@ -19,9 +19,15 @@ before_build:
$env:VCVARS_PLATFORM="amd64" $env:VCVARS_PLATFORM="amd64"
$env:TARGET="VC-WIN64A" $env:TARGET="VC-WIN64A"
} }
- ps: >-
If ($env:Configuration -Match "shared") {
$env:SHARED="shared"
} Else {
$env:SHARED=""
}
- ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS")) - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS"))
- call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM% - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM%
- perl Configure %TARGET% no-asm - perl Configure %TARGET% no-asm %SHARED%
build_script: build_script:
- nmake - nmake