Bug#268140: libffi.la: wrong libdir setting
On Fri, Aug 27, 2004 at 01:33:46AM +0200, Matthias Klose wrote:
> Scott James Remnant writes:
> > On Thu, 2004-08-26 at 02:48 -0700, Debian Bug Tracking System wrote:
> >
> > > then libtool should be fixed. there is no documented requirement that
> > > the path has to be normalized.
> > >
> > While there's no specifically documented requirement, there is a common
> > sense one. Libtool doesn't make any attempt to normalise the paths
> > given to it, in fact it's kinda a tricky issue ... for example:
> >
> > If you used -rpath /usr/mylib and that was a symlink to /usr/lib, would
> > you expect that to be RPATHd or not?
>
> no that's another issue. independently of symlinks things should be
> transformed from /usr/lib/. to /usr/lib, /usr/lib/../lib to /usr/lib
>
> I see these kind of pathes generated by the biarch setups for gcc, but
> cannot actually tell, how to avoid them.
You basically can't.
--
Daniel Jacobowitz
Reply to: