mirror of https://github.com/moparisthebest/curl
build-openssl.bat: Warn OpenSSL 1.1.0 not yet supported
Ref: https://github.com/curl/curl/issues/1002
This commit is contained in:
parent
5f1fa5827d
commit
e702df7a84
|
@ -138,6 +138,9 @@ rem ***************************************************************************
|
||||||
rem Check the start directory exists
|
rem Check the start directory exists
|
||||||
if not exist "%START_DIR%" goto noopenssl
|
if not exist "%START_DIR%" goto noopenssl
|
||||||
|
|
||||||
|
rem Check that OpenSSL is not unsupported version 1.1.0
|
||||||
|
if not exist "%START_DIR%\ms\do_ms.bat" goto unsupported
|
||||||
|
|
||||||
:configure
|
:configure
|
||||||
if "%BUILD_PLATFORM%" == "" (
|
if "%BUILD_PLATFORM%" == "" (
|
||||||
if "%VC_VER%" == "6.0" (
|
if "%VC_VER%" == "6.0" (
|
||||||
|
@ -355,6 +358,14 @@ rem ***************************************************************************
|
||||||
echo Error: Cannot locate OpenSSL source directory
|
echo Error: Cannot locate OpenSSL source directory
|
||||||
goto error
|
goto error
|
||||||
|
|
||||||
|
:unsupported
|
||||||
|
echo.
|
||||||
|
echo Error: Unsupported OpenSSL version.
|
||||||
|
echo The pre-generated project files and this build script only support the
|
||||||
|
echo LTS version of OpenSSL ^(v1.0.2^). The next version of this build script
|
||||||
|
echo will support OpenSSL v1.1.0.
|
||||||
|
goto error
|
||||||
|
|
||||||
:error
|
:error
|
||||||
if "%OS%" == "Windows_NT" endlocal
|
if "%OS%" == "Windows_NT" endlocal
|
||||||
exit /B 1
|
exit /B 1
|
||||||
|
|
Loading…
Reference in New Issue