summaryrefslogtreecommitdiffstats
path: root/package/gnutls/gnutls.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/gnutls/gnutls.mk')
-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 45323f2f2..d8ca16b32 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