summaryrefslogtreecommitdiff
path: root/xmake/actions/build/build_files.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-07 00:40:57 +0800
committerruki <[email protected]>2025-01-07 00:40:57 +0800
commitae8a596c609e01b21caa5825f3fd2eec0bdb7507 (patch)
tree20ab76b862913222a52c932d5688eb9c0dc176b3 /xmake/actions/build/build_files.lua
parentf6904d729ce7ca99fad237e5e0641ee015b97faf (diff)
support for inner namespace access
Diffstat (limited to 'xmake/actions/build/build_files.lua')
-rw-r--r--xmake/actions/build/build_files.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/actions/build/build_files.lua b/xmake/actions/build/build_files.lua
index f5604f0bd..ad85d8b2a 100644
--- a/xmake/actions/build/build_files.lua
+++ b/xmake/actions/build/build_files.lua
@@ -106,7 +106,8 @@ function _add_batchjobs_for_target_and_deps(batchjobs, rootjob, jobrefs, target,
jobrefs[target:name()] = targetjob_root
if not option.get("shallow") then
for _, depname in ipairs(target:get("deps")) do
- _add_batchjobs_for_target_and_deps(batchjobs, targetjob, jobrefs, project.target(depname), filepatterns)
+ _add_batchjobs_for_target_and_deps(batchjobs, targetjob, jobrefs,
+ project.target(depname, {namespace = target:namespace()}), filepatterns)
end
end
end