Skip to content

Add explicit support for linking to/from external wheels #8

@virtuald

Description

@virtuald

Some of my ideas I trialed in https://github.com/virtuald/hatch-pkgconf-meson leveraging https://github.com/pypackaging-native/pkgconf-pypi... it all comes from stuff originally pioneered in robotpy-build and described in https://discuss.python.org/t/native-dependencies-in-other-wheels-how-i-do-it-but-maybe-we-can-standardize-something/23913

Meson can already link to libraries in other wheels, as long as the wheels are careful about setting up their RPATH correctly. However, I think we would need to detect/massage any .pc files generated by meson to allow the libraries to be correctly linked to from other wheels.

Related meson-python bugs for reading:

And discussions that contain comments that are relevant:

And also this patchelf discussion is useful too:

And meson bugs too

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions