libssh2: fix static linking issue with libgcrypt
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 18 Nov 2014 14:31:33 +0000 (15:31 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 18 Nov 2014 14:31:33 +0000 (15:31 +0100)
commit3b45139297d7f407e00720f667a453f1a9279e12
tree333c21af00df55f07b8a924cb3c2f2775ee424a8
parentfde7a1900d7221eb50805508b8e31ab6ff5121ec
libssh2: fix static linking issue with libgcrypt

Fixes:
http://autobuild.buildroot.net/results/07e/07e50ba575b305b37e7a94a773c2b2e255393e9f/
http://autobuild.buildroot.net/results/072/07249f0a001a34ae608a8f8646b26a1152219252/
http://autobuild.buildroot.net/results/1c0/1c0447431e4c025732ea2eb8e9788e303f24fd04/
http://autobuild.buildroot.net/results/5e1/5e1f58c086e437b85b0d31310a93a3b2d0d70836/

And many more.

libgcrypt depends on libgpg-error and the configure script forgets to link
against it breaking static linking.  Fix it by using libgcrypt-config
--libs.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libssh2/libssh2.mk