meson-python icon indicating copy to clipboard operation
meson-python copied to clipboard

Subproject with static libraries fails the build in 0.13.0 onward (but not in 0.12.0)

Open blochl opened this issue 1 year ago • 6 comments

When building with a subproject which provides both static and dynamic libraries, I get the following error with 0.13.0 onward:

meson-python: error: Could not map installation path to an equivalent wheel directory: '{libdir_static}/mylibrary.a'

With meson-python 0.12.0 everything works fine.

Looking at #35, I understand that there is no location in wheels for static libraries, and they aren't needed at runtime, but for me --skip-subprojects install option is not a solution, as I do need the dynamic libraries which this subproject installs. What can I do (besides just using version 0.12.0, where it works :smile: )?

blochl avatar Sep 30 '24 18:09 blochl