[issue36081] Cannot set LDFLAGS containing $

Rolf Eike Beer report at bugs.python.org
Sat Mar 2 08:02:18 EST 2019


Rolf Eike Beer <eike at sf-mail.de> added the comment:

No, it's not. $ORIGIN is a special value that must be literally in the RPATH (i.e. in the ELF), so that the binary is relocatable and will looks for the libraries relative to it's location.

I wonder if I could do "export ORIGIN='$ORIGIN'" instead, so the expansions will bring back the original value again. This is only a solution for this usecase.

----------

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


More information about the Python-bugs-list mailing list