[Buildroot] [PATCH] alsa-lib: FLAT: Disable alsa lib when FLAT bianry is selected.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Nov 11 12:39:34 UTC 2013


Dear Sonic Zhang,

On Mon, 11 Nov 2013 18:54:27 +0800, Sonic Zhang wrote:

> > The problem is really that we need shared library support, no that
> > specifically the FLAT binary format is causing problems. If another
> > binary format doesn't support shared libraries, then we would have to
> > exclude it as well.
> 
> Some alsa-lib code include head file dlfcn.h, which doesn't exist in
> the FLAT GNU toolchain, while it does in the ELF/FDPIC GNU toolchain.
> So, alsa-lib has no error with BR2_PREFER_STATIC_LIB is selected in
> the 2nd case.

Yes, but it's wrong: if you use <dlfcn.h>, then clearly, you're not a
fully static lib system.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list