Add check to ensure we dont link against our selves

This commit is contained in:
Unknown 2014-08-28 11:02:58 -07:00
parent 7e345ea1ac
commit 2c68f7af8f

View File

@ -195,7 +195,9 @@
for cfg in project.eachconfig(prj) do
for _, link in ipairs(cfg.links) do
add_to_project_list(cfg, link, result)
if link ~= prj.name then
add_to_project_list(cfg, link, result)
end
end
if not linkOnly then
for _, depproj in ipairs(cfg.dependson) do