[Buildroot] [git commit] socat: add optional openssl and readline support
Peter Korsgaard
peter at korsgaard.com
Tue Mar 11 10:48:28 UTC 2014
commit: http://git.buildroot.net/buildroot/commit/?id=df2b2104f4ed219f28bcea12b24cb9507666ee0c
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/socat/socat.mk | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/package/socat/socat.mk b/package/socat/socat.mk
index 6ae67a9..7172ea0 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
More information about the buildroot
mailing list