Subject: Re: libtool problem with runtime shlib path propagation
To: None <M.Drochner@fz-juelich.de, tech-pkg@netbsd.org, tech-toolchain@netbsd.org>
From: Nick Hudson <skrll@netbsd.org>
List: tech-toolchain
Date: 02/13/2002 21:12:10
On Wednesday 13 February 2002 3:56 pm, Matthias Drochner wrote:
[...]

> The problem seems to be that "libtool" does store the "-L"
> part of the dependency in its lib.la file, but not the runtime
> path - if it is given by "-Wl,-R". "libtool" supposedly dtrt if
> the runtime path is given by a "-R" option.
> Otoh, while this is documented behaviour, it is not portable
> and hardly usable with these "gnome" style xxx-config scripts.
> It would be better if "libtool" handled "-Wl,-R" the same way
> like just "-R".

Are you sure that the libtool -R option isn't good enough here? -R is 
converted by libtool to the correct options for the linker used.

-Wl,-R is a hack if you ask me.

Nick