summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()