summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/softether/softether.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/softether/softether.mk b/package/softether/softether.mk
index 3b1ce40cf3..8f8734d2c5 100644
--- a/package/softether/softether.mk
+++ b/package/softether/softether.mk
@@ -19,6 +19,11 @@ SOFTETHER_DEPENDENCIES += libiconv
SOFTETHER_CONF_ENV = LIBS+=" -liconv"
endif
+ifeq ($(BR2_STATIC_LIBS),y)
+# openssl needs zlib
+SOFTETHER_CONF_ENV += LIBS+=" -lz"
+endif
+
SOFTETHER_CONF_OPTS = \
--with-openssl="$(STAGING_DIR)/usr" \
--with-zlib="$(STAGING_DIR)/usr"
OpenPOWER on IntegriCloud