[Buildroot] [PATCH 19/20] alsa-lib: bump to version 1.0.25

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Mar 15 20:30:41 UTC 2012


Le Wed, 14 Mar 2012 00:36:05 +0100,
Arnout Vandecappelle <arnout at mind.be> a écrit :

> On Sunday 11 March 2012 22:48:08 Gustavo Zacarias wrote:
> > +# Can't build with static & shared at the same time (1.0.25+)
> > +ifneq ($(BR2_PREFER_STATIC),y)
> > +ALSA_LIB_CONF_OPT += --enable-static=no
> > +else
> > +ALSA_LIB_CONF_OPT += --enable-shared=no
> > +endif
> 
>  Shouldn't we put this in AUTOTARGETS?  Or at least the
> --enable-shared=no if BR2_PREFER_STATIC?

We already have in package/Makefile.in:

ifeq ($(BR2_PREFER_STATIC_LIB),y)
SHARED_STATIC_LIBS_OPTS=--enable-static --disable-shared
else
SHARED_STATIC_LIBS_OPTS=--enable-static --enable-shared
endif

And SHARED_STATIC_LIB_OPTS is used in package/Makefile.autotools.in. I
am not sure why alsa-lib requires those different options than the
standard ones.

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