[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linking just some static
From: |
Jan Engelhardt |
Subject: |
Re: Linking just some static |
Date: |
Mon, 16 Feb 2009 20:36:00 +0100 (CET) |
User-agent: |
Alpine 2.00 (LSU 1167 2008-08-23) |
On Monday 2009-02-16 19:56, Ralf Wildenhues wrote:
>>
>> 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?
Hm, how do I extract it from there without mark-copy-paste, losing
stuff like tabs and such?
Jan