rpath in setup.py?
gh at ghaering.de
Thu Oct 2 19:29:02 CEST 2003
Tore Ferner wrote:
> [...] How do I make python use -rpath against such directories, for
> example by changing setup.py? [...]
Here's a snippet of a setup.py from a project I'm involved in:
ext_modules = [Extension(
runtime_library_dirs = pypgsql_rt_dirs,
runtime_library_dirs is a list of directories, just like library_dirs.
And I'd think it makes sense that both refer to the same list ;)
In other words, library_dirs ends up as -L option, whereas
runtime_library_dirs ends up as -rpath option.
More information about the Python-list