Re: [Distutils] setup.py build_ext --rpath behaviour

2009-05-02 Thread Floris Bruynooghe
On Thu, Apr 16, 2009 at 11:42:28AM +0100, Floris Bruynooghe wrote: > Now when using the --rpath option to the build_ext command > distutils.unixcompiler.UnixCCompiler.runtime_library_dir_option() will > use some heuristics to figure out which option to pass to compiler to > get the runpath in (i.e.

Re: [Distutils] setup.py build_ext --rpath behaviour

2009-04-18 Thread Floris Bruynooghe
On Thu, Apr 16, 2009 at 12:54:02PM +0200, Tarek Ziadé wrote: > On Thu, Apr 16, 2009 at 12:42 PM, Floris Bruynooghe > wrote: > > Do these improvements sound sensible? And if so should I create one > > patch for each (and two bug reports) or combine them into one patch? > > They sound reasonable,

Re: [Distutils] setup.py build_ext --rpath behaviour

2009-04-16 Thread Tarek Ziadé
On Thu, Apr 16, 2009 at 12:42 PM, Floris Bruynooghe wrote: > Do these improvements sound sensible?  And if so should I create one > patch for each (and two bug reports) or combine them into one patch? They sound reasonable, please fill two differents bugs with your patches and if you can, add so

[Distutils] setup.py build_ext --rpath behaviour

2009-04-16 Thread Floris Bruynooghe
Hello Distutils allows you to use a handy --rpath option to the build_ext command to add an RPATH value into the linked object. However some of the semantics are not great IMHO. For the first issue some background first. On SysV-like systems (systems using the ELF binary format) the RPATH fiel