commit | 29ea94e17c61b485f5cd1036e0ba8282b44ebb0e | [log] [tgz] |
---|---|---|
author | Brad King <brad.king@kitware.com> | Thu Mar 03 12:52:37 2022 -0500 |
committer | Brad King <brad.king@kitware.com> | Thu Mar 03 12:54:10 2022 -0500 |
tree | f612b2c1ca077dff607ca07597d14ea2f26cb818 | |
parent | 02b04f1ca8d13410feeebb51756619b8f9d80a22 [diff] |
BinUtils: Avoid llvm-ar on Apple platforms Since commit cf82300a63 (BinUtils: Clarify search logic and make it more consistent, 2021-05-27, v3.21.0-rc1~119^2~2) we correctly prefer the more-specific name `llvm-ar` over `ar` when using Clang. However, on Apple platforms, `llvm-ar` does not generate a symbol table that the Apple linker accepts. Fall back to `ar` on Apple platforms. Fixes: #23269