leptonica: fix static build issue
authorGilles Talis <gilles.talis@gmail.com>
Mon, 27 Mar 2017 20:24:38 +0000 (22:24 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 28 Mar 2017 19:48:51 +0000 (21:48 +0200)
commit1efa9f865ebe3fbfdb1893e2f07c93e5f84eab47
treea94f611dd2a94065feee1781dde5ef23661e7625
parent4f9848d6a108925a0bb446c38ec34a8aa497dec4
leptonica: fix static build issue

leptonica configure script does not use pkg-config to find the TIFF library,
so it doesn't know about the transitive dependencies of the TIFF library.
Switching to PKG_CHECK_MODULES() to discover the library solves the issue.

Fixes:
http://autobuild.buildroot.net/results/8dd2bcc41e861bdd324dd081e39925964d1ac428
http://autobuild.buildroot.net/results/ec7366d69b00625b652915fa58e3143f1bdcaf62
http://autobuild.buildroot.net/results/0cd74312a39e3bc59d15789a4c0a891f0f417b8c
http://autobuild.buildroot.net/results/35f9a0f2db30dd62733142f0fcfa72699452583f
http://autobuild.buildroot.net/results/f7ea889b2fb96ff7de492e282820c800187573cb

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/leptonica/0001-configure.ac-Use-PKG_CHECK_MODULES-to-check-libtiff.patch [new file with mode: 0644]
package/leptonica/leptonica.mk