aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2020-12-23 11:59:49 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-12-27 09:01:47 +0100
commit91ab8a90a8c58b05edd64bcbf6c0830da4c05291 (patch)
tree71889a6685995b855760665fd826088a5b00f011
parent8c47c1aa2e9ec69a1c2490da40763488b2de4c91 (diff)
downloadbuildroot-91ab8a90a8c58b05edd64bcbf6c0830da4c05291.tar.gz
buildroot-91ab8a90a8c58b05edd64bcbf6c0830da4c05291.tar.bz2
package/mutt: add zlib optional dependency
zlib is an optional dependency which is enabled by default since version 1.14.1 and https://gitlab.com/muttmua/mutt/-/commit/136ae0add512f21bc418f9e31a2f1b970ad1a490 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 554610803c3807775c1d9e153187ee99ccfd11ad) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/mutt/mutt.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/mutt/mutt.mk b/package/mutt/mutt.mk
index cc4b5f56b4..4e14004577 100644
--- a/package/mutt/mutt.mk
+++ b/package/mutt/mutt.mk
@@ -61,6 +61,13 @@ else
MUTT_CONF_OPTS += --without-sqlite3
endif
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+MUTT_DEPENDENCIES += zlib
+MUTT_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr
+else
+MUTT_CONF_OPTS += --without-zlib
+endif
+
# Avoid running tests to check for:
# - target system is *BSD
# - C99 conformance (snprintf, vsnprintf)