cosmetic fix

This commit is contained in:
Andrew 2016-01-16 11:46:38 +05:00
parent df8c2fd36e
commit 618f9227a3

View File

@ -308,10 +308,10 @@
table.insert(result, link)
else
local endswith = function(s, ptrn)
return ptrn == string.sub(s, -string.len(ptrn))
return ptrn == string.sub(s, -string.len(ptrn))
end
local name = path.getname(link)
-- Check link mode preference and set flags for linker accordingly
-- Check whether link mode decorator is present
if endswith(name, ":static") then
name = string.sub(name, 0, -8)
table.insert(static_syslibs, "-l" .. name)