summaryrefslogtreecommitdiff
path: root/xmake/core/tool/builder.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/tool/builder.lua')
-rw-r--r--xmake/core/tool/builder.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua
index b0f802237..0e85911eb 100644
--- a/xmake/core/tool/builder.lua
+++ b/xmake/core/tool/builder.lua
@@ -669,7 +669,7 @@ function builder:_sort_links_of_items(items, opt)
end
if not gh:empty() then
local has_cycle
- links, has_cycle = gh:topological_sort()
+ links, has_cycle = gh:topo_sort()
if has_cycle then
local cycle = gh:find_cycle()
if cycle then