[Pkg-alsa-devel] Bug#522544: Bug#522544: libasound2-dev: Statically linking libasound.a does not work

Samuel Thibault sthibault at debian.org
Tue Jun 2 08:20:28 UTC 2009


Elimar Riesebieter, le Tue 02 Jun 2009 09:06:04 +0200, a écrit :
> * Samuel Thibault [090602 01:26 +0200]
> > ping?
> 
> Is ./configure --enable-static is what you are looking for?

That's enabled already...  See my initial email: the problem is that
when both static & dynamic linking is enabled, automake gets it wrong
and uses only the dynamic objects.  The patch I have submitted just
makes them work as well in static mode.  Another way may be to build
alsa twice, once with --enable-dynamic --disable-static and a second
time with --disable-dynamic --enable-static, and then just copy the
libasound.a from the second compilation.

Samuel





More information about the Pkg-alsa-devel mailing list