diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/core/cfg.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/luarocks/core/cfg.lua b/src/luarocks/core/cfg.lua index 6d8fe55b..e9139a4e 100644 --- a/src/luarocks/core/cfg.lua +++ b/src/luarocks/core/cfg.lua | |||
| @@ -468,6 +468,12 @@ local function make_defaults(lua_version, target_cpu, platforms, home) | |||
| 468 | end | 468 | end |
| 469 | end | 469 | end |
| 470 | 470 | ||
| 471 | if platforms.msys2_mingw_w64 then | ||
| 472 | defaults.variables.PWD = "cd" | ||
| 473 | defaults.variables.CC = os.getenv("CC") or "cc" | ||
| 474 | defaults.variables.LD = os.getenv("CC") or "cc" | ||
| 475 | end | ||
| 476 | |||
| 471 | if platforms.bsd then | 477 | if platforms.bsd then |
| 472 | defaults.variables.MAKE = "gmake" | 478 | defaults.variables.MAKE = "gmake" |
| 473 | defaults.gcc_rpath = false | 479 | defaults.gcc_rpath = false |
