pythonz icon indicating copy to clipboard operation
pythonz copied to clipboard

Add RPATH to executable ?

Open gst opened this issue 8 years ago • 0 comments

Hi,

I think it would be good to compile with the "RPATH" link dynamic feature by default. where it's available at least.

that way the installation directory can be relocated anywhere and the python binary will use the correct python shared library (libpython.so).

For ref: https://en.wikipedia.org/wiki/Rpath

I could manage to pass the LDFLAGS on command line with -C or by exporting LDFLAGS env variable before starting pythonz install but I find that it's worth to have it enabled by default.

What do you think ?

gst avatar May 10 '17 13:05 gst