pulseaudio: fix build error on toolchains without C++ support
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 4 Jun 2012 21:07:31 +0000 (23:07 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 4 Jun 2012 21:07:31 +0000 (23:07 +0200)
commit50995f43e18032a386bf2a4b0de47f2322a110a3
treeb069617d4bf2cb88e31c1e803dd1508fdb88c1c5
parent3bc0d5be844f41cf58120ffc3d306eeae8868cc9
pulseaudio: fix build error on toolchains without C++ support

The optional webrtc echo canceller is written in C++, causing auto* to want
to link module-echo-cancel.so with CXX even if webrtc ISN'T used.
If we don't have C++ support enabled in BR, CXX will point to /bin/false,
which makes configure think we aren't able to create C++ .so files
(arguable true), breaking the build when it tries to install the .so
workaround it by patching up the libtool invocations to use C mode instead.

Fixes http://autobuild.buildroot.net/results/114e5bf0086f2394b36f17a70cb54b357a72413c

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/pulseaudio/pulseaudio.mk