Skip to content

Add RPATH to executable ? #128

@gst

Description

@gst

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions