Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
virtuald opened this issue Nov 11, 2024 · 0 comments
Open

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

virtuald opened this issue Nov 11, 2024 · 0 comments

Comments

@virtuald
Copy link
Owner

virtuald commented Nov 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant