diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-07-23 09:19:24 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-07-23 09:19:24 -0300 |
commit | 8734df15cfd9ced9a741b0a18a4f9b508066b3df (patch) | |
tree | 1b2248473750547d24922cf2145cea7066569766 | |
parent | 8a2516cd3f7a0145098bd13de646f7984a76269d (diff) | |
download | luarocks-8734df15cfd9ced9a741b0a18a4f9b508066b3df.tar.gz luarocks-8734df15cfd9ced9a741b0a18a4f9b508066b3df.tar.bz2 luarocks-8734df15cfd9ced9a741b0a18a4f9b508066b3df.zip |
cfg: set fs_use_modules off for the Windows binary
This should be a good way to set that automatically.
-rw-r--r-- | src/luarocks/core/cfg.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
705 | for _, tool in ipairs(tools) do | 705 | for _, tool in ipairs(tools) do |
706 | defaults.variables[tool] = hardcoded.WIN_TOOLS .. "/" .. defaults.variables[tool] .. ".exe" | 706 | defaults.variables[tool] = hardcoded.WIN_TOOLS .. "/" .. defaults.variables[tool] .. ".exe" |
707 | end | 707 | end |
708 | else | ||
709 | defaults.fs_use_modules = true | ||
708 | end | 710 | end |
709 | 711 | ||
710 | defaults.rocks_provided, defaults.rocks_provided_3_0 = make_rocks_provided(lua_version, luajit_version) | 712 | defaults.rocks_provided, defaults.rocks_provided_3_0 = make_rocks_provided(lua_version, luajit_version) |