summaryrefslogtreecommitdiff
path: root/xmake/modules/cli
diff options
context:
space:
mode:
authorruki <[email protected]>2025-04-09 22:09:38 +0800
committerGitHub <[email protected]>2025-04-09 22:09:38 +0800
commit48275f817475b398b649f55054e2e60200dcd052 (patch)
tree2e943d22fd4adceb8f0c6e53dbee610ce217f7c3 /xmake/modules/cli
parentd9a5ab70746010c846b815c2b5e14447d268b96f (diff)
parent699e40f3e45469b3597f5fa24ad6bb2c922b8a4b (diff)
Merge pull request #6209 from xmake-io/prepare
Add build jobgraph support
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