From cb0e3915da024e1d2327b956eb148330a69a3698 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 15 Dec 2025 23:28:40 +0800 Subject: fix link tips --- xmake/modules/private/action/build/link_objects.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() -- cgit v1.3.1