spandsp: fix static build with jpeg enabled
authorBaruch Siach <baruch@tkos.co.il>
Fri, 12 Oct 2018 04:39:50 +0000 (07:39 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 12 Oct 2018 19:58:19 +0000 (21:58 +0200)
commitbf41bfd83fab5351696421c19954116a00f33dc6
treed84f2031f9a5647b3d1d50c7cfe27be11cadbc31
parent87d759ced52cb461a4460f4c513f2f6993292bc2
spandsp: fix static build with jpeg enabled

When jpeg is enabled libtiff links with it, but the spandsp configure
test doesn't take that into account, so the configure test fails. Use
pkg-config to add the required tiff dependencies.

Fixes:
http://autobuild.buildroot.net/results/243/243f1d1271a767556e0a4cd56a42fcc8c1a371ed/
http://autobuild.buildroot.net/results/485/48527e144bc4ad3eaab807f302888380bd9e78bb/
http://autobuild.buildroot.net/results/058/05885325ec274cb9860d423c57eed5e7063aedc0/

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/spandsp/spandsp.mk