From: Florian Fainelli Date: Thu, 8 May 2014 00:57:40 +0000 (+0000) Subject: gnutls: Allow gnutls to be compiled using nettle-mini. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4e4610e5be2148e7821eb687fb1d25e3698bb9a1;p=openwrt%2Fsvn-archive%2Fpackages.git gnutls: Allow gnutls to be compiled using nettle-mini. Signed-off-by: Nikos Mavrogiannopoulos Signed-off-by: Florian Fainelli SVN-Revision: 40723 --- diff --git a/libs/gnutls/Makefile b/libs/gnutls/Makefile index c2a010a65..997532bdf 100644 --- a/libs/gnutls/Makefile +++ b/libs/gnutls/Makefile @@ -75,7 +75,7 @@ endef define Package/libgnutls $(call Package/gnutls/Default) TITLE+= (library) - DEPENDS+= +libnettle + DEPENDS+= +libnettle +!LIBNETTLE_MINI:libgmp endef define Package/libgnutls/description @@ -110,6 +110,10 @@ CONFIGURE_ARGS+= \ --disable-crywrap \ --without-p11-kit +ifeq ($(CONFIG_LIBNETTLE_MINI),y) +CONFIGURE_ARGS += --with-nettle-mini +endif + ifneq ($(CONFIG_GNUTLS_DTLS_SRTP),y) CONFIGURE_ARGS += --disable-dtls-srtp-support endif