[PATCH] D135651: [LLD] [MinGW] Look for libs named "<libname>.lib" even with -static
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 11 11:38:45 PDT 2022
mstorsjo added a comment.
In D135651#3850183 <https://reviews.llvm.org/D135651#3850183>, @mati865 wrote:
> It's unfortunate that MSVC doesn't distinguish static from import libs by extension but we have to adjust.
Some projects use the convention of naming import libs `<name>.lib` and static libs `lib<name>.lib` for MSVC style builds (e.g. the libc++ build does that). But in any case, regardless of what those libs are, we kinda need to follow what ld.bfd does here, for the least amount of surprises for end users.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135651/new/
https://reviews.llvm.org/D135651
More information about the llvm-commits
mailing list