diff options
author | Vicente Olivert Riera <Vincent.Riera@imgtec.com> | 2015-07-06 10:02:05 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-06 17:47:56 +0200 |
commit | 07f484e13c7c52027a789f56c9c42862480094a9 (patch) | |
tree | 97836a7122cc14bc3919fb5ab4abdce07959c1ce /package/squid | |
parent | d43343c86f8d2b01c35034a2d50960bf5f6cdfe6 (diff) |
squid: add gnutls support
A new --without-gnutls option has been added to configure, so let's use
it in order to enable or disable gnutls support in squid.
Related:
http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.6-RELEASENOTES.html#ss4.1
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/squid')
-rw-r--r-- | package/squid/squid.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/squid/squid.mk b/package/squid/squid.mk index 469fb1bb3..80235a4ce 100644 --- a/package/squid/squid.mk +++ b/package/squid/squid.mk @@ -62,6 +62,13 @@ SQUID_CONF_OPTS += --with-openssl SQUID_DEPENDENCIES += openssl endif +ifeq ($(BR2_PACKAGE_GNUTLS),y) +SQUID_CONF_OPTS += --with-gnutls +SQUID_DEPENDENCIES += gnutls +else +SQUID_CONF_OPTS += --without-gnutls +endif + define SQUID_CLEANUP_TARGET rm -f $(addprefix $(TARGET_DIR)/usr/bin/, \ RunCache RunAccel) |