gnutls: Allow gnutls to be compiled using nettle-mini.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@40723 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5f0206834d
commit
216ca09aaa
@ -75,7 +75,7 @@ endef
|
|||||||
define Package/libgnutls
|
define Package/libgnutls
|
||||||
$(call Package/gnutls/Default)
|
$(call Package/gnutls/Default)
|
||||||
TITLE+= (library)
|
TITLE+= (library)
|
||||||
DEPENDS+= +libnettle
|
DEPENDS+= +libnettle +!LIBNETTLE_MINI:libgmp
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libgnutls/description
|
define Package/libgnutls/description
|
||||||
@ -110,6 +110,10 @@ CONFIGURE_ARGS+= \
|
|||||||
--disable-crywrap \
|
--disable-crywrap \
|
||||||
--without-p11-kit
|
--without-p11-kit
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_LIBNETTLE_MINI),y)
|
||||||
|
CONFIGURE_ARGS += --with-nettle-mini
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(CONFIG_GNUTLS_DTLS_SRTP),y)
|
ifneq ($(CONFIG_GNUTLS_DTLS_SRTP),y)
|
||||||
CONFIGURE_ARGS += --disable-dtls-srtp-support
|
CONFIGURE_ARGS += --disable-dtls-srtp-support
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user