This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Enable rpath remapping in makefile
Type: enhancement Stage: needs patch
Components: Build Versions: Python 3.9, Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ned.deily, ronaldoussoren, steve.dower, twouters
Priority: normal Keywords:

Created on 2019-05-24 16:48 by steve.dower, last changed 2022-04-11 14:59 by admin.

Messages (2)
msg343411 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2019-05-24 16:48
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.
msg343447 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2019-05-25 00:49
(Sorry, my original answer was great except it didn't actually work. Revisiting.)
History
Date User Action Args
2022-04-11 14:59:15adminsetgithub: 81218
2019-05-25 00:49:35ned.deilysetmessages: + msg343447
2019-05-25 00:39:45ned.deilysetmessages: - msg343439
2019-05-25 00:39:37ned.deilysetmessages: - msg343442
2019-05-25 00:00:16ned.deilysetmessages: + msg343442
2019-05-24 23:56:51ned.deilysetmessages: + msg343439
2019-05-24 16:48:42steve.dowercreate