gnutls: add optional zlib support
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 4 Jun 2012 14:14:43 +0000 (16:14 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 4 Jun 2012 14:14:43 +0000 (16:14 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/gnutls/gnutls.mk

index 45323f2f2c6d86b99bd6b6d90b5128d8463470dc..d8ca16b32c97f71240971d4755d713ac00f0f1e0 100644 (file)
@@ -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