-
Notifications
You must be signed in to change notification settings - Fork 65
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
Fix linking against libraries from Meson project on macOS #260
Conversation
This looks promising, thanks for tackling this topic @pastewka! The |
@rgommers Yes, upgrading pip to a version that fixes a known issue we are hitting on Debian fails because the merge branch has been deleted. Fixing that is on my todo list. I'll do that as soon as a find a little bit of time. |
@rgommers @dnicolodi Happy to contribute, meson-python is a fantastic project that has made my life a whole lot easier. It looks like all tests pass now, except the Debian tests which as discussed seem unrelated to this PR. |
Please squash the commits |
124506e
to
7fd9c3c
Compare
Done |
I've also updated the README to reflect status on macOS. |
fdd46f4
to
d124297
Compare
Is there anything else here that I should change? What is the process for getting this into a release? |
Signed-off-by: Filipe Laíns <lains@riseup.net>
Signed-off-by: Filipe Laíns <lains@riseup.net>
d124297
to
8a427f1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pastewka sorry for the delay! I rebased this PR on main
, we should now be able to merge as soon as the CI runs. Thank you so much for the contribution!
Signed-off-by: Filipe Laíns <lains@riseup.net>
PR #260 Signed-off-by: Filipe Laíns <lains@riseup.net>
Thanks for merging this, happy to contribute! |
This PR fixes linking against libraries created during the Meson build on macOS. It uses
otool
andinstall_name_tool
to update the LC_RPATH load command in the dylib. (This is identical to how the library is patched on Linux.)