libtool
[Top][All Lists]
Advanced

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

Re: mode=link and full path to dependent shared library?


From: Albert Chin
Subject: Re: mode=link and full path to dependent shared library?
Date: Wed, 12 Oct 2005 09:53:09 -0500
User-agent: Mutt/1.5.6i

On Tue, Oct 11, 2005 at 10:50:49PM +0200, Ralf Wildenhues wrote:
> Hi Tim, Albert,
> 
> * Tim Mooney wrote on Mon, Oct 10, 2005 at 10:27:11PM CEST:
> > In regard to: Re: mode=link and full path to dependent shared library?,...:
> > 
> > >>I'm talking about a situation like this:
> > >>
> > >>/bin/sh ./libtool --tag=CXX --mode=link cxx  -some_compiler_flags -o
> > >>libfoo.la -rpath /path/to/lib -version-info 16:3:1 -no-undefined foo.lo
> > >>bar.lo baz.lo /path/to/lib/libdep.so -llib2 -lc -rpath /path/to/lib
> > >>
> > >>libtool should be creating libfoo.la (and both shared and archive libfoo
> > >>libraries) and should be linking against /path/to/lib/libdep.so, but it's
> > >>eliding the /path/to/lib/libdep.so from the shared library creation line.
> 
> > >Does the below fix it for you?
> 
> Doesn't that patch break other libtool instances which do not have it?
> (i.e.: libfoo.la will contain `/path/to/libintl.so' in dependency_libs,
> but libtool's without your patch will refuse to read the .la file)
> Untested due to time constraints, sorry.

Seems so. I think we came up with the patch when building KDE. We
never use the stock libtool so the above doesn't matter for us. I
didn't have time to further refine and test the patch so I never
submitted it.

-- 
albert chin (address@hidden)




reply via email to

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