[issue5900] Ensure RUNPATH is added to extension modules with RPATH if GNU ld is used

2009-05-09 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I including the patch right now. I a changing minor things (adding the missing configure and renaming tests) -- versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue5900] Ensure RUNPATH is added to extension modules with RPATH if GNU ld is used

2009-05-09 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: done in r72497 in trunk. (tests run under macos, debian and win) I'll wait 2 hours to watch the buildbots then I'll propagate it to the py3k branch -- ___ Python tracker rep...@bugs.python.org

[issue5900] Ensure RUNPATH is added to extension modules with RPATH if GNU ld is used

2009-05-09 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: done in py3k in r72504 Thanks Floris ! -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5900 ___

[issue5900] Ensure RUNPATH is added to extension modules with RPATH if GNU ld is used

2009-05-04 Thread Floris Bruynooghe
Floris Bruynooghe floris.bruynoo...@gmail.com added the comment: I'm not convinced that would help much. The GNULD variable in the makefile is for when the default linker is used. If you change that by using LDSHARED then you're probably not going to be using --rpath but LDFLAGS to configure

[issue5900] Ensure RUNPATH is added to extension modules with RPATH if GNU ld is used

2009-05-04 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: what about adding 'GNULD' into sysconfig.customize_compiler too, so it can be set using os.environ as well, not only in the Makefile -- ___ Python tracker rep...@bugs.python.org

[issue5900] Ensure RUNPATH is added to extension modules with RPATH if GNU ld is used

2009-05-01 Thread Floris Bruynooghe
New submission from Floris Bruynooghe floris.bruynoo...@gmail.com: The build_ext command does accept a handy --rpath option to encode an RPATH in the built extension modules. However RPATH is superseded by RUNPATH since the former can not be overwritten by the LD_LIBRARY_PATH environment