[pulseaudio-discuss] Building PulseAudio 2.0 without a dependency on libstdc++

Thomas Martitz kugel at rockbox.org
Mon Jul 16 23:35:18 PDT 2012



Arun Raghavan <arun.raghavan at collabora.co.uk> schrieb:

On Mon, 2012-07-16 at 09:58 +0300, Rémi Denis-Courmont wrote:
> Le lundi 16 juillet 2012 06:41:11 Louis Opter, vous avez écrit :
> > How could I patch the Makefile to not link with the libstdc++ when
> > WebRTC is not used? And, should I file a bug for this?
> 
> You may be hitting a limitation of automake. If there is any single .cpp file 
> in the sources of a given target, even if it is a conditional and unselected 
> source, the C++ linker will be used.

Erf, that's awful. Do you know of any work around for this problem?

-- Arun

_____________________________________________

pulseaudio-discuss mailing list
pulseaudio-discuss at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


You can avoid the implicit link to libstdc++ (-nostdlib). But then you to explicitly link other implicit libs like libc.

Or.can't you just override the linker?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20120717/b7d99a03/attachment.html>


More information about the pulseaudio-discuss mailing list