Subject: Re: libtool problem with runtime shlib path propagation
To: None <M.Drochner@fz-juelich.de, email@example.com, firstname.lastname@example.org>
From: Nick Hudson <email@example.com>
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.