From 2c68f7af8fad3098b3a03680cd6a315dea309f65 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 28 Aug 2014 11:02:58 -0700 Subject: [PATCH] Add check to ensure we dont link against our selves --- src/base/project.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/base/project.lua b/src/base/project.lua index 048ecaaa..28c08875 100755 --- a/src/base/project.lua +++ b/src/base/project.lua @@ -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