[Buildroot] [PATCH] audiofile: does not build with static-only
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat May 24 16:45:41 UTC 2014
Dear Luca Ceresoli,
On Sat, 24 May 2014 16:24:54 +0200, Luca Ceresoli wrote:
> Also propagate to its reverse dependency (audiofile module for mpd).
>
> Fixes:
> http://autobuild.buildroot.net/results/327/327c18db4e5d0ddc2c72a4684e103c19a1405e50/
> http://autobuild.buildroot.org/results/c8b/c8b64588eebf0bd8d879881b65e9d8efde00397d/
> http://autobuild.buildroot.org/results/028/028a3b97d56674560b8aa90b6e44b2e91858a5cb/
>
> Signed-off-by: Luca Ceresoli <luca at lucaceresoli.net>
No, I disagree. The real problem is the fact that we pass --static
instead of -static when building statically, so libtool turns -lstdc++
into a full path to libstdc++.so instead of libstdc++.a.
The real fix is to understand why we switched from -static to --static
a few years ago: there is a commit from Andy Kennedy making this
change, but the commit log is quite fuzzy about why this is actually
needed.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list