diff options
-rw-r--r-- | build2/cc/link-rule.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/link-rule.cxx b/build2/cc/link-rule.cxx index ba6add4..3c2be53 100644 --- a/build2/cc/link-rule.cxx +++ b/build2/cc/link-rule.cxx @@ -2145,7 +2145,7 @@ namespace build2 if (verb >= 2) print_process (args); else if (verb) - text << "ld " << t; + text << (lt.static_library () ? "ar " : "ld ") << t; try { |