diff options
Diffstat (limited to 'src')
-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 87777b86..5e43535b 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -342,6 +342,7 @@ if detected.windows then | |||
342 | localappdata = os.getenv("USERPROFILE").."/Local Settings/Application Data" | 342 | localappdata = os.getenv("USERPROFILE").."/Local Settings/Application Data" |
343 | end | 343 | end |
344 | defaults.local_cache = localappdata.."/LuaRocks/Cache" | 344 | defaults.local_cache = localappdata.."/LuaRocks/Cache" |
345 | defaults.web_browser = "start" | ||
345 | end | 346 | end |
346 | 347 | ||
347 | if detected.mingw32 then | 348 | if detected.mingw32 then |
@@ -403,6 +404,7 @@ if detected.unix then | |||
403 | if not defaults.variables.CFLAGS:match("-fPIC") then | 404 | if not defaults.variables.CFLAGS:match("-fPIC") then |
404 | defaults.variables.CFLAGS = defaults.variables.CFLAGS.." -fPIC" | 405 | defaults.variables.CFLAGS = defaults.variables.CFLAGS.." -fPIC" |
405 | end | 406 | end |
407 | defaults.web_browser = "xdg-open" | ||
406 | end | 408 | end |
407 | 409 | ||
408 | if detected.cygwin then | 410 | if detected.cygwin then |
@@ -436,6 +438,7 @@ if detected.macosx then | |||
436 | end | 438 | end |
437 | defaults.variables.CC = "export MACOSX_DEPLOYMENT_TARGET=10."..version.."; gcc" | 439 | defaults.variables.CC = "export MACOSX_DEPLOYMENT_TARGET=10."..version.."; gcc" |
438 | defaults.variables.LD = "export MACOSX_DEPLOYMENT_TARGET=10."..version.."; gcc" | 440 | defaults.variables.LD = "export MACOSX_DEPLOYMENT_TARGET=10."..version.."; gcc" |
441 | defaults.web_browser = "open" | ||
439 | end | 442 | end |
440 | 443 | ||
441 | if detected.linux then | 444 | if detected.linux then |