From e71413b73b73715626eaa810d87fa7085701b2dc Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 12 Mar 2017 12:33:28 +0100 Subject: [PATCH] package/gnupg2: add optional support for gnutls Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/gnupg2/gnupg2.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/gnupg2/gnupg2.mk b/package/gnupg2/gnupg2.mk index d7f277cdfe..5815e7003d 100644 --- a/package/gnupg2/gnupg2.mk +++ b/package/gnupg2/gnupg2.mk @@ -35,6 +35,13 @@ else GNUPG2_CONF_OPTS += --disable-bzip2 endif +ifeq ($(BR2_PACKAGE_GNUTLS),y) +GNUPG2_CONF_OPTS += --enable-gnutls +GNUPG2_DEPENDENCIES += gnutls +else +GNUPG2_CONF_OPTS += --disable-gnutls +endif + ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y) GNUPG2_CONF_OPTS += --enable-ccid-driver GNUPG2_DEPENDENCIES += libusb-compat -- 2.30.2