diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/deps.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/deps.lua b/src/luarocks/deps.lua index 01851081..fc9ed804 100644 --- a/src/luarocks/deps.lua +++ b/src/luarocks/deps.lua | |||
@@ -470,7 +470,7 @@ local function check_external_dependency_at(prefix, name, ext_files, vars, dirs, | |||
470 | end) | 470 | end) |
471 | for _, fa in ipairs(files) do | 471 | for _, fa in ipairs(files) do |
472 | 472 | ||
473 | f = fa[2] | 473 | local f = fa[2] |
474 | -- small convenience hack | 474 | -- small convenience hack |
475 | if f:match("%.so$") or f:match("%.dylib$") or f:match("%.dll$") then | 475 | if f:match("%.so$") or f:match("%.dylib$") or f:match("%.dll$") then |
476 | f = f:gsub("%.[^.]+$", "."..cfg.external_lib_extension) | 476 | f = f:gsub("%.[^.]+$", "."..cfg.external_lib_extension) |