summaryrefslogtreecommitdiff
path: root/xmake/modules/cli
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules/cli')
-rw-r--r--xmake/modules/cli/amalgamate.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/cli/amalgamate.lua b/xmake/modules/cli/amalgamate.lua
index 8c7ec6fd7..d0a5ba40c 100644
--- a/xmake/modules/cli/amalgamate.lua
+++ b/xmake/modules/cli/amalgamate.lua
@@ -96,7 +96,7 @@ function _generate_file(target, inputpaths, outputpath, uniqueid)
_generate_include_graph(target, inputpaths, gh, {})
-- sort file paths and remove root path
- local filepaths = gh:topological_sort()
+ local filepaths = gh:topo_sort()
table.remove(filepaths, 1)
-- generate amalgamate file