summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-01-27 07:17:18 (GMT)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-01-27 07:21:19 (GMT)
commit6205b75873cefe5376f49934f456729f5de6ee1f (patch)
tree43651463b0ada94e5ef5bc0bf251deac4a15aed7
parenta5391ca453eb21c5dba9a0a6252b4f4eb995247b (diff)
downloadbuildroot-6205b75873cefe5376f49934f456729f5de6ee1f.tar.gz
buildroot-6205b75873cefe5376f49934f456729f5de6ee1f.tar.bz2
sngrep: gnutls support also needs libgcrypt
The gnutls support in sngrep not only needs gnutls, but also libgcrypt. So only enable gnutls support when both packages are available. Fixes: http://autobuild.buildroot.net/results/18fbb5748a6ad66ac6ec8141c3296d2b13fa40ac/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/sngrep/sngrep.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/sngrep/sngrep.mk b/package/sngrep/sngrep.mk
index b4b91c9..52c8a2d 100644
--- a/package/sngrep/sngrep.mk
+++ b/package/sngrep/sngrep.mk
@@ -18,7 +18,8 @@ SNGREP_CONF_OPTS += --disable-unicode
ifeq ($(BR2_PACKAGE_OPENSSL),y)
SNGREP_DEPENDENCIES += openssl
SNGREP_CONF_OPTS += --with-openssl --without-gnutls
-else ifeq ($(BR2_PACKAGE_GNUTLS),y)
+# gnutls support also requires libgcrypt
+else ifeq ($(BR2_PACKAGE_GNUTLS)$(BR2_PACKAGE_LIBGCRYPT),yy)
SNGREP_DEPENDENCIES += gnutls
SNGREP_CONF_OPTS += --with-gnutls --without-openssl
else