diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-10-01 10:01:34 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-10-01 10:01:34 +0200 |
commit | d596fda993ae44fa8fb6d45bcc3b8ead6699a815 (patch) | |
tree | 7e2461c726dd2d1fe7fc5454a9d96c28878a3526 /appveyor | |
parent | 59ac81f81e2caadb1ffe010155924e9844ba7f5f (diff) | |
download | php-git-d596fda993ae44fa8fb6d45bcc3b8ead6699a815.tar.gz |
Fix AppVeyor setup wrt. changed OpenSSL default config path
Diffstat (limited to 'appveyor')
-rw-r--r-- | appveyor/test_task.bat | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/appveyor/test_task.bat b/appveyor/test_task.bat index ba6a862f22..0578170a97 100644 --- a/appveyor/test_task.bat +++ b/appveyor/test_task.bat @@ -49,11 +49,16 @@ set PDOTEST_DSN=odbc:%ODBC_TEST_DSN% rem prepare for ext/openssl if "%APPVEYOR%" equ "True" rmdir /s /q C:\OpenSSL-Win32 >NUL 2>NUL if "%APPVEYOR%" equ "True" rmdir /s /q C:\OpenSSL-Win64 >NUL 2>NUL -mkdir c:\usr\local\ssl +if "%PLATFORM%" == "x64" ( + set OPENSSLDIR="C:\Program Files\Common Files\SSL" +) else ( + set OPENSSLDIR="C:\Program Files (x86)\Common Files\SSL" +) +mkdir %OPENSSLDIR% if %errorlevel% neq 0 exit /b 3 -copy %DEPS_DIR%\template\ssl\openssl.cnf c:\usr\local\ssl +copy %DEPS_DIR%\template\ssl\openssl.cnf %OPENSSLDIR% if %errorlevel% neq 0 exit /b 3 -set OPENSSL_CONF=c:\usr\local\ssl\openssl.cnf +set OPENSSL_CONF=%OPENSSLDIR%\openssl.cnf rem set OPENSSL_CONF= rem set SSLEAY_CONF= |