win,build: fix building from Windows SDK or VS console

Introduced in
2f6d4b4b58 and accidentally undone in
19c896dd08.

PR-URL: https://github.com/libuv/libuv/pull/1415
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Refael Ackermann <refack@gmail.com>
This commit is contained in:
Saúl Ibarra Corretgé 2017-07-10 20:50:29 +02:00
parent f1e0fc43d1
commit 01b23314cc

View File

@ -43,6 +43,9 @@ shift
goto next-arg
:args-done
if defined WindowsSDKDir goto select-target
if defined VCINSTALLDIR goto select-target
@rem Look for Visual Studio 2017 only if explicitly requested.
if "%target_env%" NEQ "vs2017" goto vs-set-2015
echo Looking for Visual Studio 2017