Fixes external library name mangling in gmake makefiles
External libs with a period in the currently get changed. The period and everything after it is deleted. So: links {"lua-5.1"} becomes: -llua-5 in the makefile. This test checks for that. Fix in next commit
This commit is contained in:
parent
82a9ebda9e
commit
7b30574cea
@ -212,7 +212,7 @@
|
||||
elseif path.isobjectfile(link) then
|
||||
table.insert(result, link)
|
||||
else
|
||||
table.insert(result, "-l" .. path.getbasename(link))
|
||||
table.insert(result, "-l" .. path.getname(link))
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user