aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/core/cfg.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/luarocks/core/cfg.lua b/src/luarocks/core/cfg.lua
index c5c2e005..79ae0417 100644
--- a/src/luarocks/core/cfg.lua
+++ b/src/luarocks/core/cfg.lua
@@ -485,6 +485,8 @@ local function make_defaults(lua_version, target_cpu, platforms, home)
485 local sdk_path = util.popen_read("xcrun --show-sdk-path 2>/dev/null") 485 local sdk_path = util.popen_read("xcrun --show-sdk-path 2>/dev/null")
486 if sdk_path then 486 if sdk_path then
487 table.insert(defaults.external_deps_dirs, sdk_path .. "/usr") 487 table.insert(defaults.external_deps_dirs, sdk_path .. "/usr")
488 table.insert(defaults.external_deps_patterns.lib, 1, "lib?.tbd")
489 table.insert(defaults.runtime_external_deps_patterns.lib, 1, "lib?.tbd")
488 end 490 end
489 491
490 -- Homebrew 492 -- Homebrew