aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/deps.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua
index f80fddb0..b72661b7 100644
--- a/src/luarocks/deps.lua
+++ b/src/luarocks/deps.lua
@@ -544,6 +544,10 @@ local function check_external_dependency(name, ext_files, vars, mode, cache)
544 dirs.LIBDIR.pattern = fun.filter(util.deep_copy(dirs.LIBDIR.pattern), function(s) 544 dirs.LIBDIR.pattern = fun.filter(util.deep_copy(dirs.LIBDIR.pattern), function(s)
545 return not s:match("%.a$") 545 return not s:match("%.a$")
546 end) 546 end)
547 elseif cfg.is_platform("windows") and name == "LUA" then
548 dirs.LIBDIR.pattern = fun.filter(util.deep_copy(dirs.LIBDIR.pattern), function(s)
549 return not s:match("%.dll$")
550 end)
547 end 551 end
548 ok, err_dirname, err_testfile = check_external_dependency_at(prefix, name, ext_files, vars, dirs, err_files, cache) 552 ok, err_dirname, err_testfile = check_external_dependency_at(prefix, name, ext_files, vars, dirs, err_files, cache)
549 if ok then 553 if ok then