libtool
[Top][All Lists]
Advanced

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

Re: Linking just some static


From: Ralf Wildenhues
Subject: Re: Linking just some static
Date: Mon, 16 Feb 2009 19:56:35 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Jan,

* Jan Engelhardt wrote on Sun, Feb 15, 2009 at 02:10:28AM CET:
> 
> is it somehow possible to specify that only a given set of libraries is 
> supposed to be linked in statically into a program? Something along the 
> lines of...
> 
> bin_PROGRAMS = foo bar
> foo_LDADD = libabc.la -( -static libdef.la -) libghi.la
> bar_LDADD = libdef.la libghi.la

With this patch, it would be possible, using -Bstatic and -Bdynamic:
<http://thread.gmane.org/gmane.comp.gnu.libtool.patches/6727/focus=6730>

Can you try out the patch, and report back?

Cheers, and thanks,
Ralf




reply via email to

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