From 8734df15cfd9ced9a741b0a18a4f9b508066b3df Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 23 Jul 2018 09:19:24 -0300 Subject: cfg: set fs_use_modules off for the Windows binary This should be a good way to set that automatically. --- src/luarocks/core/cfg.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/luarocks/core/cfg.lua b/src/luarocks/core/cfg.lua index 7d4896b7..67d99c2e 100644 --- a/src/luarocks/core/cfg.lua +++ b/src/luarocks/core/cfg.lua @@ -705,6 +705,8 @@ function cfg.init(lua_data, project_dir, warning) for _, tool in ipairs(tools) do defaults.variables[tool] = hardcoded.WIN_TOOLS .. "/" .. defaults.variables[tool] .. ".exe" end + else + defaults.fs_use_modules = true end defaults.rocks_provided, defaults.rocks_provided_3_0 = make_rocks_provided(lua_version, luajit_version) -- cgit v1.2.3-55-g6feb