rpath in setup.py?

Marc Recht recht at NetBSD.org
Fri Oct 3 15:45:15 CEST 2003


>       ext_modules=[Extension('struct', ['structmodule.c'],
>           runtime_library_dirs = ['/opt/python/python2.1.3/lib'] <= added
>           )],

Did you try the following already?
...
  extra_link_args = ['-Wl,-R/opt/python/python2.1.3/lib']
...

Marc





More information about the Python-list mailing list