diff options
| -rw-r--r-- | src/luarocks/cfg.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index 8f7cab1b..09640ca2 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
| @@ -446,7 +446,9 @@ if detected.macosx then | |||
| 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 >= 10 then | 448 | if version >= 10 then |
| 449 | version = 10 | 449 | version = 8 |
| 450 | elseif version >= 5 then | ||
| 451 | version = 5 | ||
| 450 | else | 452 | else |
| 451 | defaults.gcc_rpath = false | 453 | defaults.gcc_rpath = false |
| 452 | end | 454 | end |
