Skip to content

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

Open
@blochl

Description

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 😄 )?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions