diff options
Diffstat (limited to 'src/luarocks/cfg.lua')
-rw-r--r-- | src/luarocks/cfg.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index e0b4060a..c904a7ba 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -162,6 +162,7 @@ local defaults = { | |||
162 | local_by_default = false, | 162 | local_by_default = false, |
163 | use_extensions = false, | 163 | use_extensions = false, |
164 | accept_unknown_fields = false, | 164 | accept_unknown_fields = false, |
165 | fs_use_modules = true, | ||
165 | 166 | ||
166 | lua_modules_path = "/share/lua/"..lua_version, | 167 | lua_modules_path = "/share/lua/"..lua_version, |
167 | lib_modules_path = "/lib/lua/"..lua_version, | 168 | lib_modules_path = "/lib/lua/"..lua_version, |
@@ -240,6 +241,7 @@ local defaults = { | |||
240 | 241 | ||
241 | if detected.windows then | 242 | if detected.windows then |
242 | home_config_file = home_config_file:gsub("\\","/") | 243 | home_config_file = home_config_file:gsub("\\","/") |
244 | defaults.fs_use_modules = false | ||
243 | defaults.arch = "win32-"..proc | 245 | defaults.arch = "win32-"..proc |
244 | defaults.platforms = {"win32", "windows" } | 246 | defaults.platforms = {"win32", "windows" } |
245 | defaults.lib_extension = "dll" | 247 | defaults.lib_extension = "dll" |
@@ -278,6 +280,7 @@ end | |||
278 | 280 | ||
279 | if detected.mingw32 then | 281 | if detected.mingw32 then |
280 | home_config_file = home_config_file:gsub("\\","/") | 282 | home_config_file = home_config_file:gsub("\\","/") |
283 | defaults.fs_use_modules = false | ||
281 | defaults.arch = "win32-"..proc | 284 | defaults.arch = "win32-"..proc |
282 | defaults.platforms = { "win32", "mingw32" } | 285 | defaults.platforms = { "win32", "mingw32" } |
283 | defaults.lib_extension = "dll" | 286 | defaults.lib_extension = "dll" |