[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#268140: libffi.la: wrong libdir setting



Scott James Remnant <scott@netsplit.com> 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?

/usr/mylib is normalized while not being canonical on your system.

I would expect . and .. to get removed while links are not removed if
libtool is to do any normalization.

> I'm tempted to actually leave non-normalisation in as a "cute hack" to
> force a /usr/lib rpath when you really want one.

Can't you then just add -rpath to LD_FLAGS?

> Scott

MfG
        Goswin



Reply to: