* Todd Gamblin wrote on Thu, Sep 24, 2009 at 09:40:37PM CEST:
I'm having trouble getting -R to work as advertised. From the
libtool docs:
-R libdir
If output-file is a program, add libdir to its run-time path. If
output-file is a library, add -Rlibdir to its dependency_libs, so
that, whenever the library is linked into a program, libdir will
be added to its run-time path.
However, when I link libraries that were built with -R into
executables, it doesn't look like rpath is getting set properly.
This kooks like a Libtool bug to me. Especially looking at the output
of
make check-local \
TESTSUITEFLAGS='-k "Runpath in libtool library files" -v -d -x'
I vaguely remember being there before; possibly the obvious fix caused
some other problems, need to look.
Thanks,
Ralf