conan-io / hooks

Official Conan client hooks
MIT License
32 stars 44 forks source link

KB-H014: Invalid for Meson's default behavior of using the ".a" suffix for static libraries on Windows #516

Open jwillikers opened 8 months ago

jwillikers commented 8 months ago

The hook KB-H014 conflicts with Meson's default behavior of creating .a static libraries on Windows to avoid using the .lib extension for both import libraries and static libraries. This is documented here.

This is a problem in PR conan-io/conan-center-index#20623.

uilianries commented 8 months ago

@jwillikers Thank you for the information! That's unexpected, I mean, I really didn't know about .a working on Windows ... It needs a fix indeed.

jwillikers commented 8 months ago

I didn't either, but that really make distinguishing between import and static libraries less confusing on Windows.

jwillikers commented 3 months ago

@uilianries @RubenRBS This also effects conan-io/conan-center-index#22974.