summaryrefslogtreecommitdiffstats
path: root/package/fetchmail/fetchmail.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/fetchmail/fetchmail.mk')
-rw-r--r--package/fetchmail/fetchmail.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/fetchmail/fetchmail.mk b/package/fetchmail/fetchmail.mk
index 49ce0d3a80..164b2f8ad8 100644
--- a/package/fetchmail/fetchmail.mk
+++ b/package/fetchmail/fetchmail.mk
@@ -13,7 +13,11 @@ FETCHMAIL_LICENSE_FILES = COPYING
FETCHMAIL_AUTORECONF = YES
FETCHMAIL_GETTEXTIZE = YES
+# needed to help fetchmail detecting the availability of openssl,
+# because it doesn't use pkg-config
+ifeq ($(BR2_STATIC_LIBS),y)
FETCHMAIL_CONF_ENV += LIBS="-lz"
+endif
FETCHMAIL_CONF_OPTS = \
--with-ssl=$(STAGING_DIR)/usr
OpenPOWER on IntegriCloud