[*] Prevent selflink

This commit is contained in:
Reece Wilson 2022-03-08 20:46:36 +00:00
parent 027f2f9ce5
commit ca4f042fc7

View File

@ -447,15 +447,19 @@ local function linkAuProject(dep, soft)
linkStart = true
end
dependson(dep)
if (auGetBaseProjectName() ~= dep) then
dependson(dep)
--if (not processor:getMeta().isStatic) then
pushProject(a, function()
_auFatalMsg["processing project link"] = a.info.name
processor:handleLink()
_auFatalMsg["processing project link"] = nil
end)
--end
end
--if (not processor:getMeta().isStatic) then
pushProject(a, function()
_auFatalMsg["processing project link"] = a.info.name
processor:handleLink()
_auFatalMsg["processing project link"] = nil
end)
--end
if (linkStart) then
_auLinkGuard = {}