diff options
| author | ruki <[email protected]> | 2026-03-10 00:54:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-03-10 00:54:43 +0800 |
| commit | 7e4bedf8961ba1666cceaa6c2fa06ea0c68f6f71 (patch) | |
| tree | 708b3fc7df71dc2f4ac72b3f3bc1a63e39b74e26 | |
| parent | 85d6d2e1647374020ea63791bbe15b55d700b094 (diff) | |
remove dedupliate namespace
| -rw-r--r-- | xmake/modules/private/action/build/link_objects.lua | 3 | ||||
| -rw-r--r-- | xmake/modules/private/action/build/object.lua | 6 |
2 files changed, 1 insertions, 8 deletions
diff --git a/xmake/modules/private/action/build/link_objects.lua b/xmake/modules/private/action/build/link_objects.lua index 864ba395e..54d03da09 100644 --- a/xmake/modules/private/action/build/link_objects.lua +++ b/xmake/modules/private/action/build/link_objects.lua @@ -38,9 +38,6 @@ function _do_link_target(target, opt) local depvalues = {linkinst:program(), linkflags} depend.on_changed(function () local filename = target:filename() - if target:namespace() then - filename = target:namespace() .. "::" .. filename - end if target:is_static() then progress.show(opt.progress, "${color.build.target}archiving.$(mode) %s", filename) else diff --git a/xmake/modules/private/action/build/object.lua b/xmake/modules/private/action/build/object.lua index e4c5b49e2..837c5fec4 100644 --- a/xmake/modules/private/action/build/object.lua +++ b/xmake/modules/private/action/build/object.lua @@ -81,11 +81,7 @@ function _do_build_file(target, sourcefile, opt) -- trace progress info if not opt.quiet then - local filepath = sourcefile - if target:namespace() then - filepath = target:namespace() .. "::" .. filepath - end - progress.show(opt.progress, "${color.build.object}%scompiling.$(mode) %s", prefix, filepath) + progress.show(opt.progress, "${color.build.object}%scompiling.$(mode) %s", prefix, sourcefile) end -- trace verbose info |
