File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,16 @@ set PDOTEST_DSN=odbc:%ODBC_TEST_DSN%
49
49
rem prepare for ext/openssl
50
50
if " %APPVEYOR% " equ " True" rmdir /s /q C:\OpenSSL-Win32 > NUL 2 > NUL
51
51
if " %APPVEYOR% " equ " True" rmdir /s /q C:\OpenSSL-Win64 > NUL 2 > NUL
52
- mkdir c:\usr\local\ssl
52
+ if " %PLATFORM% " == " x64" (
53
+ set OPENSSLDIR = " C:\Program Files\Common Files\SSL"
54
+ ) else (
55
+ set OPENSSLDIR = " C:\Program Files (x86)\Common Files\SSL"
56
+ )
57
+ mkdir %OPENSSLDIR%
53
58
if %errorlevel% neq 0 exit /b 3
54
- copy %DEPS_DIR% \template\ssl\openssl.cnf c:\usr\local\ssl
59
+ copy %DEPS_DIR% \template\ssl\openssl.cnf %OPENSSLDIR%
55
60
if %errorlevel% neq 0 exit /b 3
56
- set OPENSSL_CONF = c:\usr\local\ssl \openssl.cnf
61
+ set OPENSSL_CONF = %OPENSSLDIR% \openssl.cnf
57
62
rem set OPENSSL_CONF=
58
63
rem set SSLEAY_CONF=
59
64
You can’t perform that action at this time.
0 commit comments