You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to build libpython and have it already have the install path stripped out so I can use rpath instead. This libpython is going to be distributed with other applications.
Right now, I'm running install_name_tool -id "@rpath/libpython3.7m.dylib" libpython3.7m.dylib as a post-build step, (and will then have to figure out what breaks next ;) )
It's probably a simple makefile/autoconf update to add an option to run the necessary commands as part of build, but I can't figure it out myself. So I'm hoping someone can help or has already done it and wants to share.
Activity
zooba commentedon May 24, 2019
I'd like to be able to build libpython and have it already have the install path stripped out so I can use rpath instead. This libpython is going to be distributed with other applications.
Right now, I'm running
install_name_tool -id "@rpath/libpython3.7m.dylib" libpython3.7m.dylibas a post-build step, (and will then have to figure out what breaks next ;) )It's probably a simple makefile/autoconf update to add an option to run the necessary commands as part of build, but I can't figure it out myself. So I'm hoping someone can help or has already done it and wants to share.
ned-deily commentedon May 25, 2019
(Sorry, my original answer was great except it didn't actually work. Revisiting.)
pythongh-81218: Make macOS framework builds relocatable via @rpath
pythongh-81218: Make macOS framework builds relocatable via @rpath
Merge branch 'main' into pythongh-81218-relocatable-framework-rpath
Merge branch 'main' into pythongh-81218-relocatable-framework-rpath