From 04e45199b0a76808fce9850713ba8e79a47cb9fd Mon Sep 17 00:00:00 2001 From: Xpol Wan Date: Tue, 27 Oct 2015 00:35:51 +0800 Subject: Don't setup msvc when user desires MinGW. --- install.bat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.bat b/install.bat index de572d3d..c3099988 100644 --- a/install.bat +++ b/install.bat @@ -436,6 +436,8 @@ end -- returns the batch command to setup msvc compiler path. -- requires vars.LUA_RUNTIME and vars.UNAME_M to be set before calling this function. local function get_msvc_env_setup_cmd() + if USE_MINGW then return "" end -- Don't setup msvc for MinGW. + local product_dir = get_visual_studio_directory() local x64 = vars.UNAME_M=="x86_64" -- cgit v1.2.3-55-g6feb