libtool
[Top][All Lists]
Advanced

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

Re: lib seach path


From: Joakim Tjernlund
Subject: Re: lib seach path
Date: Tue, 15 Dec 2009 09:09:58 +0100

Ralf Wildenhues <address@hidden> wrote on 14/12/2009 19:52:54:
>
> * Joakim Tjernlund wrote on Mon, Dec 14, 2009 at 09:42:51AM CET:
> > How do I add -static on a per lib basis?
>
> Currently there is no way to do so, but it is a TODO item and a proposed
> patch to add this functionality (search for 'per-deplib static').  For

I see. Searched and found a msg that said you added this support in CVS
in 2006. Has there not been a libtool release since then?

> in-tree libraries you could work around it by creating another variant
> of the library, with --tag=disable-shared added to its *_LIBTOOLFLAGS.

hmm, that will introduce some churn in the make files. Using the
.a libs directly does not work at all? I am using GNU/Linux if that matters.

>
> Note that none of the other deplibs should depend upon the shared
> version of the library you're linking statically.
>
> Cheers,
> Ralf
>





reply via email to

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