diff options
-rw-r--r-- | src/luarocks/cfg.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index 36c2c2a4..50d247b5 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -443,6 +443,7 @@ if detected.macosx then | |||
443 | defaults.arch = "macosx-"..proc | 443 | defaults.arch = "macosx-"..proc |
444 | defaults.platforms = {"unix", "bsd", "macosx"} | 444 | defaults.platforms = {"unix", "bsd", "macosx"} |
445 | defaults.variables.LIBFLAG = "-bundle -undefined dynamic_lookup -all_load" | 445 | defaults.variables.LIBFLAG = "-bundle -undefined dynamic_lookup -all_load" |
446 | defaults.variables.STAT = "/usr/bin/stat" | ||
446 | defaults.variables.STATFLAG = "-f '%A'" | 447 | defaults.variables.STATFLAG = "-f '%A'" |
447 | local version = io.popen("sw_vers -productVersion"):read("*l") | 448 | local version = io.popen("sw_vers -productVersion"):read("*l") |
448 | version = tonumber(version and version:match("^[^.]+%.([^.]+)")) or 3 | 449 | version = tonumber(version and version:match("^[^.]+%.([^.]+)")) or 3 |