sngrep: fix libgcrypt handling
authorPeter Korsgaard <peter@korsgaard.com>
Thu, 29 Mar 2018 13:58:14 +0000 (15:58 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 29 Mar 2018 19:19:54 +0000 (21:19 +0200)
commitae7d59eaae1c55d707b2a70437a84c280f598572
tree9ec0720d25b94c8ee3ac8148e7958888ef8fefe1
parent22e27da26590adb203ad2cb14e986ff5c2592727
sngrep: fix libgcrypt handling

Fixes:
http://autobuild.buildroot.net/results/f1c6494133806b9fc26ae3ce9e9c6a22fa2eda6f/

Commit 6205b75873c (sngrep: gnutls support also needs libgcrypt) ensured
that --with-gnutls is only used when both gnutls and libgcrypt are enabled,
but it didn't ensure libgcrypt gets built before sngrep or told the
configure script where to find libgcrypt-config, breaking the build.

Fix both issues.

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