summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2025-03-31 23:05:27 +0800
committerruki <[email protected]>2025-04-08 15:31:57 +0800
commitc0867ffd08915f2f80decbf97da17b685fb74525 (patch)
treee5f3df31625158e6c1251254b351c0d5161c30e6 /xmake/modules
parent8b0ba84af0611cc61e9398c579ab55e9087320d4 (diff)
fix build modules
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/private/action/build/object.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/build/object.lua b/xmake/modules/private/action/build/object.lua
index 5118dbb82..0028b4b6f 100644
--- a/xmake/modules/private/action/build/object.lua
+++ b/xmake/modules/private/action/build/object.lua
@@ -165,7 +165,7 @@ function _add_jobgraph(target, jobgraph, sourcebatch, opt)
local objectfile = sourcebatch.objectfiles[i]
local dependfile = sourcebatch.dependfiles[i]
local sourcekind = assert(sourcebatch.sourcekind, "%s: sourcekind not found!", sourcefile)
- local jobname = target:fullname() .. "/" .. sourcefile
+ local jobname = target:fullname() .. "/obj/" .. sourcefile
jobgraph:add(jobname, function (index, total, jobopt)
local build_opt = table.join({objectfile = objectfile, dependfile = dependfile, sourcekind = sourcekind, progress = jobopt.progress}, opt)
build_object(target, sourcefile, build_opt)