package/mpd: fix static linking with tremor
commit43b49a091e886fb1f2d411187d2929d8d17ce3a4
authorJörg Krause <joerg.krause@embedded.rocks>
Tue, 10 Jan 2017 22:39:25 +0000 (10 23:39 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 11 Jan 2017 11:28:28 +0000 (11 12:28 +0100)
tree7d3eb188db8fdb1cee1a60f8ac580559265ff3cb
parent5b1ebb102935123c61bf1e2eedf3f2cd89f535d1
package/mpd: fix static linking with tremor

Although tremor (the library is named vorbisidec) provides a pkg-config
file, mpd does not use it to find tremor. Since version 0.20 does throw
an error instead of a warning, that's why the issue was left unnoticed
by the autobuilders.

Help mpd to find tremor by providing the path to the library and passing
LIBS through the environment. We use the host pkg-config tool to get the
correct values from the vorbisidec.pc file.

Fixes:
http://autobuild.buildroot.net/results/6b9/6b97403e70caa12c32494b1c82ce61d3e4e456f6/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mpd/mpd.mk