package/mpg123: fix static linking issue with alsa
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 8 Nov 2015 12:36:41 +0000 (13:36 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 8 Nov 2015 13:31:21 +0000 (14:31 +0100)
commit8dc10951088819e5113bb74414469f08eb33e611
tree406a606263ae5eb642f13d0b0951bbce1adeea34
parente1da0eff54912b712fbeb05979bd6606d716c665
package/mpg123: fix static linking issue with alsa

As opposed to the other audio backends, the configure script does NOT
use pkg-config to figure out how to link with alsa, breaking static
linking as alsa uses pthreads.

This patch uses the same fix from Peter used for portaudio:
http://git.buildroot.net/buildroot/commit/package/mpg123/mpg123.mk?id=dea306c78b5d4c571555c50512e212a725b594b9

Fixes
http://autobuild.buildroot.net/results/796/79613fda3f51e969ecd46ae1151bd4c3316639c3/
http://autobuild.buildroot.net/results/b0a/b0a99ff1516602ed42c0cc14d9d2922a01cdf88f/
http://autobuild.buildroot.net/results/5bd/5bdfd2aa9de568d0f7be27ffb18d4541b0e1be0c/
and many others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mpg123/mpg123.mk