aboutsummaryrefslogtreecommitdiff
path: root/package/ngircd/ngircd.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/ngircd/ngircd.mk')
-rw-r--r--package/ngircd/ngircd.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/ngircd/ngircd.mk b/package/ngircd/ngircd.mk
index 06318a9df3..9fa30da24c 100644
--- a/package/ngircd/ngircd.mk
+++ b/package/ngircd/ngircd.mk
@@ -7,7 +7,6 @@
NGIRCD_VERSION = 24
NGIRCD_SOURCE = ngircd-$(NGIRCD_VERSION).tar.xz
NGIRCD_SITE = https://arthur.barton.de/pub/ngircd
-NGIRCD_DEPENDENCIES = zlib
NGIRCD_LICENSE = GPL-2.0+
NGIRCD_LICENSE_FILES = COPYING
@@ -24,4 +23,11 @@ NGIRCD_CONF_OPTS += --without-gnutls
endif
endif
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+NGIRCD_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr
+NGIRCD_DEPENDENCIES += zlib
+else
+NGIRCD_CONF_OPTS += --without-zlib
+endif
+
$(eval $(autotools-package))