summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/ngircd/ngircd.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/ngircd/ngircd.mk b/package/ngircd/ngircd.mk
index 2ab9187c8e..06318a9df3 100644
--- a/package/ngircd/ngircd.mk
+++ b/package/ngircd/ngircd.mk
@@ -16,6 +16,12 @@ NGIRCD_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr
NGIRCD_DEPENDENCIES += openssl
else
NGIRCD_CONF_OPTS += --without-openssl
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+NGIRCD_CONF_OPTS += --with-gnutls=$(STAGING_DIR)/usr
+NGIRCD_DEPENDENCIES += gnutls
+else
+NGIRCD_CONF_OPTS += --without-gnutls
+endif
endif
$(eval $(autotools-package))
OpenPOWER on IntegriCloud