diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-08-21 09:17:11 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-08-21 09:17:11 +0200 |
commit | fe55b14b627ad4d832261c68ea24d37d513e834e (patch) | |
tree | e3777802b3ce32f1b151e8c4df65f0f4949b3e3b | |
parent | 70a76a8a03f0390b44d372fb8816cf529a9f1c35 (diff) |
Print 'ar' instead of 'ld' when building static libraries
-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 { |