p11-kit: fix detection of certificates path
authorBaruch Siach <baruch@tkos.co.il>
Fri, 26 Oct 2018 06:29:13 +0000 (09:29 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 26 Oct 2018 08:34:18 +0000 (10:34 +0200)
commit30efa8ee7e33013aad607f7599a081e3b66a68fb
tree24969d54b81cee2c642cd4c52cce9ee6f5e51a3a
parentfd31e85b2d9e519996cb69a0c9845015e00dbb58
p11-kit: fix detection of certificates path

The p11-kit configure script looked for certificates location on the
host. This doesn't work well with cross compilation. Make the
certificates patch depend on BR2_PACKAGE_CA_CERTIFICATES, and set the
right target location of the path.

Fixes:
http://autobuild.buildroot.net/results/295/295614d4aa3db9bb35bebbe56e38110f5a2de178/
http://autobuild.buildroot.net/results/0fb/0fb454ca0df74a8585cffe8f5d1f5d23cdfdbec6/
http://autobuild.buildroot.net/results/ef7/ef71f3d67afba547b5167253fb02476e59152803/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/p11-kit/p11-kit.mk