aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/core/cfg.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/luarocks/core/cfg.lua b/src/luarocks/core/cfg.lua
index 58ed1ac6..fca315e0 100644
--- a/src/luarocks/core/cfg.lua
+++ b/src/luarocks/core/cfg.lua
@@ -285,6 +285,7 @@ local function make_defaults(lua_version, target_cpu, platforms, home)
285 defaults.external_deps_dirs = { "c:/external/", "c:/windows/system32" } 285 defaults.external_deps_dirs = { "c:/external/", "c:/windows/system32" }
286 286
287 defaults.makefile = "Makefile.win" 287 defaults.makefile = "Makefile.win"
288 defaults.variables.PWD = "echo %cd%"
288 defaults.variables.MAKE = "nmake" 289 defaults.variables.MAKE = "nmake"
289 defaults.variables.CC = "cl" 290 defaults.variables.CC = "cl"
290 defaults.variables.RC = "rc" 291 defaults.variables.RC = "rc"
@@ -762,7 +763,7 @@ function cfg.init(detected, warning)
762 local defaults = make_defaults(cfg.lua_version, processor, platforms, cfg.home) 763 local defaults = make_defaults(cfg.lua_version, processor, platforms, cfg.home)
763 764
764 if platforms.windows and hardcoded.WIN_TOOLS then 765 if platforms.windows and hardcoded.WIN_TOOLS then
765 local tools = { "SEVENZ", "CP", "FIND", "LS", "MD5SUM", "PWD", "WGET", } 766 local tools = { "SEVENZ", "CP", "FIND", "LS", "MD5SUM", "WGET", }
766 for _, tool in ipairs(tools) do 767 for _, tool in ipairs(tools) do
767 defaults.variables[tool] = '"' .. hardcoded.WIN_TOOLS .. "/" .. defaults.variables[tool] .. '.exe"' 768 defaults.variables[tool] = '"' .. hardcoded.WIN_TOOLS .. "/" .. defaults.variables[tool] .. '.exe"'
768 end 769 end