https://bugs.winehq.org/show_bug.cgi?id=53918
--- Comment #2 from Zeb Figura z.figura12@gmail.com --- (In reply to Jacek Caban from comment #1)
c7a210bc2f27 fixed building Wine with clang msvc mode. libfoo.dll.a (and libfoo.a) is a mingw thing, when LLD is used in msvc mode, it looks for foo.lib. Since we provide our import libs with "mingw" names, we can't rely on linker to find those libraries in this case.
I guess I didn't realize that code path would turn paths "back" into -lfoo even if they weren't written as -lfoo in the first place. On the other hand, wouldn't we have still used --lib-suffix at that point?