Re: Stop "relink" searching host directory when installation prefix provided

2011-01-17 Thread Martin Panter
On 16 January 2011 17:13, Ralf Wildenhues wrote: > Hello Martin, > > * Martin Panter wrote on Sun, Jan 16, 2011 at 01:04:00PM CET: >> Don't search host directory during "relink" if $inst_prefix is provided > >> --- libtool-2.4.orig/libltdl/config/ltmain.m4sh >> +++ libtool-2.4/libltdl/config/ltmai

Re: Stop "relink" searching host directory when installation prefix provided

2011-01-17 Thread Charles Wilson
On 1/17/2011 8:23 AM, Martin Panter wrote: > On 16 January 2011 17:23, Charles Wilson wrote: >> Actually, Ralf's example (or one very similar to it) is the *primary* >> use of DESTDIR. It's how many packaging tools -- like rpm, or cygport >> on cygwin -- create installable binary packages. > > Ag

Re: Stop "relink" searching host directory when installation prefix provided

2011-01-17 Thread Martin Panter
Hi Charles On 18 January 2011 02:38, Charles Wilson wrote: > Right, but if you remove the $DESTDIR/$libdir from the relink command, > then you'd break these native builds (because, e.g. /usr/lib is still in > the compiler's default search path). > > For instance, suppose you're building gettext: