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
Signed-off-by: Yonggang Luo luoyonggang@gmail.com