summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-06-04 14:14:43 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-06-04 14:14:43 (GMT)
commit3bc0d5be844f41cf58120ffc3d306eeae8868cc9 (patch)
tree019b37e6fbcb3b568f0ce05da73b07e2680532b5
parent34ea3b3c6461423ba8ad43089a15498f8cc1eb32 (diff)
downloadbuildroot-3bc0d5be844f41cf58120ffc3d306eeae8868cc9.tar.gz
buildroot-3bc0d5be844f41cf58120ffc3d306eeae8868cc9.tar.bz2
gnutls: add optional zlib support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/gnutls/gnutls.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index 45323f2..d8ca16b 100644
--- a/package/gnutls/gnutls.mk
+++ b/package/gnutls/gnutls.mk
@@ -7,7 +7,7 @@
GNUTLS_VERSION = 2.12.19
GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.bz2
GNUTLS_SITE = $(BR2_GNU_MIRROR)/gnutls
-GNUTLS_DEPENDENCIES = host-pkg-config libgcrypt
+GNUTLS_DEPENDENCIES = host-pkg-config libgcrypt $(if $(BR2_PACKAGE_ZLIB),zlib)
GNUTLS_CONF_OPT = --with-libgcrypt \
--without-p11-kit
GNUTLS_INSTALL_STAGING = YES