From: Richard Levitte Date: Wed, 16 Mar 2016 13:58:17 +0000 (+0100) Subject: Appveyor - make sure to actually build "shared" in the shared configuration X-Git-Tag: OpenSSL_1_1_0-pre4~4 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=f527b6e4652b0390b4b5de597af6f18f06c3de0e Appveyor - make sure to actually build "shared" in the shared configuration Reviewed-by: Matt Caswell --- diff --git a/appveyor.yml b/appveyor.yml index 6367c3ddbc..7496a9b3f3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -19,9 +19,15 @@ before_build: $env:VCVARS_PLATFORM="amd64" $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")) - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM% - - perl Configure %TARGET% no-asm + - perl Configure %TARGET% no-asm %SHARED% build_script: - nmake