diff options
Diffstat (limited to 'xmake/core/tool/builder.lua')
| -rw-r--r-- | xmake/core/tool/builder.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua index 69e7b4de5..e4421fde6 100644 --- a/xmake/core/tool/builder.lua +++ b/xmake/core/tool/builder.lua @@ -516,11 +516,12 @@ function builder:_sort_links_of_items(target, items) end end if not gh:empty() then + local cycle = gh:find_cycle() + if cycle then + utils.warning("cycle links found in add_linkorders(): %s", table.concat(cycle, " -> ")) + end links = gh:topological_sort() end - gh:dump() - local cycle = gh:find_cycle() - utils.dump(cycle) end -- re-generate links to items list |
