[Buildroot] prefer static libraries question

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Apr 22 13:25:27 UTC 2011


On Tue, 12 Apr 2011 18:36:54 -0400
Mike Frysinger <vapier at gentoo.org> wrote:

> might be better to rename or add a new option.  then the build logic
> is clear: if user *prefers* static linking, we'll still build/install
> shared libs, but we'll generate static programs everywhere.  if the
> user *only* wants static builds, then we can skip the shared lib
> stuff entirely.

Does the "prefers" use case really makes sense ? I have always found
our BR2_PREFER_STATIC_LIB a bit odd, and I think it should be
BR2_USE_STATIC_LIB instead, and compile everything statically.

What do you think ?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list