summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-15 23:28:40 +0800
committerruki <[email protected]>2025-12-15 23:28:40 +0800
commitcb0e3915da024e1d2327b956eb148330a69a3698 (patch)
tree1fdbcd5224175e81f5dcc94fc2b820c45f5e575c
parentfb06feeb88ecd2512a4a737d7e543b88892ad783 (diff)
fix link tips
-rw-r--r--xmake/modules/private/action/build/link_objects.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/modules/private/action/build/link_objects.lua b/xmake/modules/private/action/build/link_objects.lua
index 4872619c3..c2056e836 100644
--- a/xmake/modules/private/action/build/link_objects.lua
+++ b/xmake/modules/private/action/build/link_objects.lua
@@ -41,7 +41,11 @@ function _do_link_target(target, opt)
if target:namespace() then
filename = target:namespace() .. "::" .. filename
end
- progress.show(opt.progress, "${color.build.target}linking.$(mode) %s", filename)
+ if target:is_static() then
+ progress.show(opt.progress, "${color.build.target}archiving.$(mode) %s", filename)
+ else
+ progress.show(opt.progress, "${color.build.target}linking.$(mode) %s", filename)
+ end
local targetfile = target:targetfile()
local objectfiles = target:objectfiles()