Ralf Wildenhues <ralf.wildenh...@gmx.de> 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
>



_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to