diff options
| -rw-r--r-- | install.bat | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/install.bat b/install.bat index c3099988..cfc5f074 100644 --- a/install.bat +++ b/install.bat | |||
| @@ -436,8 +436,6 @@ end | |||
| 436 | -- returns the batch command to setup msvc compiler path. | 436 | -- returns the batch command to setup msvc compiler path. |
| 437 | -- requires vars.LUA_RUNTIME and vars.UNAME_M to be set before calling this function. | 437 | -- requires vars.LUA_RUNTIME and vars.UNAME_M to be set before calling this function. |
| 438 | local function get_msvc_env_setup_cmd() | 438 | local function get_msvc_env_setup_cmd() |
| 439 | if USE_MINGW then return "" end -- Don't setup msvc for MinGW. | ||
| 440 | |||
| 441 | local product_dir = get_visual_studio_directory() | 439 | local product_dir = get_visual_studio_directory() |
| 442 | local x64 = vars.UNAME_M=="x86_64" | 440 | local x64 = vars.UNAME_M=="x86_64" |
| 443 | 441 | ||
| @@ -678,7 +676,7 @@ if SELFCONTAINED then | |||
| 678 | vars.TREE_ROOT = vars.PREFIX..[[\systree]] | 676 | vars.TREE_ROOT = vars.PREFIX..[[\systree]] |
| 679 | REGISTRY = false | 677 | REGISTRY = false |
| 680 | end | 678 | end |
| 681 | vars.COMPILER_ENV_CMD = get_msvc_env_setup_cmd() | 679 | vars.COMPILER_ENV_CMD = USE_MINGW and "" or get_msvc_env_setup_cmd() |
| 682 | 680 | ||
| 683 | print(S[[ | 681 | print(S[[ |
| 684 | 682 | ||
