From 01b23314ccb2e7e70f05fc3676db262b7a687b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Mon, 10 Jul 2017 20:50:29 +0200 Subject: [PATCH] win,build: fix building from Windows SDK or VS console Introduced in https://github.com/libuv/libuv/commit/2f6d4b4b58ea290961dc983117d31b19e198403a and accidentally undone in https://github.com/libuv/libuv/commit/19c896dd086abb351361eab54b7e88ed5ce8af08. PR-URL: https://github.com/libuv/libuv/pull/1415 Reviewed-By: Ben Noordhuis Reviewed-By: Refael Ackermann --- vcbuild.bat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vcbuild.bat b/vcbuild.bat index a86e2369..698044df 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -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