[New-bugs-announce] [issue37037] Enable rpath remapping in makefile

Steve Dower report at bugs.python.org
Fri May 24 12:48:42 EDT 2019


New submission from Steve Dower <steve.dower at python.org>:

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.

----------
components: Build
messages: 343411
nosy: ned.deily, ronaldoussoren, steve.dower, twouters
priority: normal
severity: normal
stage: needs patch
status: open
title: Enable rpath remapping in makefile
type: enhancement
versions: Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37037>
_______________________________________


More information about the New-bugs-announce mailing list