[Buildroot] [PATCH] uClibc: install libc.so even if BR2_PREFER_STATIC_LIB is enabled

Arnout Vandecappelle arnout at mind.be
Sat Nov 3 23:28:48 UTC 2012


On 11/02/12 23:17, Thomas Petazzoni wrote:
> Dear Arnout Vandecappelle (Essensium/Mind),
>
> On Thu,  1 Nov 2012 11:15:53 +0100, Arnout Vandecappelle
> (Essensium/Mind) wrote:
>> >  BR2_PREFER_STATIC_LIB_prefers_  static linking, but doesn't force it
>> >  for all packages.  So some binaries may still be built without
>> >  -static, and they will need libc.so on the target.
>> >
>> >  Therefore, put libc.so.0 in the target unconditionally.
>> >
>> >  Signed-off-by: Arnout Vandecappelle (Essensium/Mind)<arnout at mind.be>
>> >  ---
>> >  Untested!
> This is an exact revert of c95174a8dfb6f72b80768b73b8f04448f846c122. Do
> we really want to make circles and redo/undo our changes?:-)

  If they break things, yes.  The alternative is to disable all packages that
don't support static linking of executables if BR2_PREFER_STATIC_LIB is
selected.

  Regards,
  Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F



More information about the buildroot mailing list