From 216ca09aaa821c4537f158e9fc1bc952f36edf0a Mon Sep 17 00:00:00 2001 From: florian Date: Thu, 8 May 2014 00:57:40 +0000 Subject: [PATCH] gnutls: Allow gnutls to be compiled using nettle-mini. Signed-off-by: Nikos Mavrogiannopoulos Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/packages@40723 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/gnutls/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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