MSVC: Teach find_library to consider the 'libfoo.a' naming convention
When targeting the GNU ABI, we consider .a libraries first but also accept .lib. For symmetry, when targeting the MSVC ABI, we now consider .lib first but also accept .a.
This adds support for meson-generated static libraries, which are named with the pattern lib${foo}.a.
Fixes: #23975 (closed)
Signed-off-by: Yonggang Luo luoyonggang@gmail.com
Edited by Brad King