libtool
[Top][All Lists]
Advanced

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

Re: RFC: proposal for indirect deplibs


From: Joe Orton
Subject: Re: RFC: proposal for indirect deplibs
Date: Thu, 25 Nov 2004 16:14:00 +0000
User-agent: Mutt/1.4.1i

On Wed, Nov 24, 2004 at 10:14:35PM -0800, Noah Misch wrote:
> For safety, libtool would assume that unadorned dependent libraries contribute
> to the API.  An option, say `-private-libs', would mark the start of normal
> dependencies.  For example, the link command for libbar might look like this:
> 
> libtool --mode=link cc bar.o... -o libbar.la -lfoo -private-libs -lm
> 
> Consider baz, an application that links with libbar.  In Ralf's terms, libfoo 
> is
> then a direct base library of baz, and libm is an indirect base library.

I like this a lot, I think it's pretty important that the determination
of which libraries are inherited as "direct" and which as "indirect" is
left to the library author and not magically guessed by libtool.

joe




reply via email to

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