aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/cfg.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua
index 2d02230b..8f7cab1b 100644
--- a/src/luarocks/cfg.lua
+++ b/src/luarocks/cfg.lua
@@ -445,8 +445,8 @@ if detected.macosx then
445 defaults.variables.STATFLAG = "-f '%A'" 445 defaults.variables.STATFLAG = "-f '%A'"
446 local version = io.popen("sw_vers -productVersion"):read("*l") 446 local version = io.popen("sw_vers -productVersion"):read("*l")
447 version = tonumber(version and version:match("^[^.]+%.([^.]+)")) or 3 447 version = tonumber(version and version:match("^[^.]+%.([^.]+)")) or 3
448 if version >= 5 then 448 if version >= 10 then
449 version = 5 449 version = 10
450 else 450 else
451 defaults.gcc_rpath = false 451 defaults.gcc_rpath = false
452 end 452 end