bug-libtool
[Top][All Lists]
Advanced

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

Re: Problem with -R and external libraries


From: Todd Gamblin
Subject: Re: Problem with -R and external libraries
Date: Fri, 30 Oct 2009 09:42:44 -0700

Ralf,

Did you happen to get a chance to look at this?

Thanks!
-Todd

On Oct 11, 2009, at 4:13 AM, Ralf Wildenhues wrote:

* 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]