summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/socat/socat.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/socat/socat.mk b/package/socat/socat.mk
index 6ae67a9f53..7172ea07f8 100644
--- a/package/socat/socat.mk
+++ b/package/socat/socat.mk
@@ -21,6 +21,18 @@ SOCAT_CONF_ENV = sc_cv_termios_ispeed=no \
SOCAT_DEPENDENCIES = host-autoconf
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+ SOCAT_DEPENDENCIES += openssl
+else
+ SOCAT_CONF_OPT += --disable-openssl
+endif
+
+ifeq ($(BR2_PACKAGE_READLINE),y)
+ SOCAT_DEPENDENCIES += readline
+else
+ SOCAT_CONF_OPT += --disable-readline
+endif
+
define SOCAT_RUN_AUTOCONF
(cd $(@D); $(HOST_DIR)/usr/bin/autoconf)
endef
OpenPOWER on IntegriCloud