CLI: detect MinGW-flavored static libraries

Ideally on Windows, static libraries look like "foo.lib". However, CMake
and other build systems will unfortunately produce static libraries that
instead look like "libfoo.a". This patch makes Zig's CLI resolve "-lfoo"
arguments into static libraries that match this other pattern.

This patch fixes an issue with zig-bootstrap where it won't find the
LLVM, Clang, and LLD libraries.
ba127058d1Andrew Kelley committed on 5/5/2022, 2:15:31 AMparent080e870
1 file changedLine totals unavailable