From df2b2104f4ed219f28bcea12b24cb9507666ee0c Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 10 Mar 2014 16:34:06 -0300 Subject: [PATCH] socat: add optional openssl and readline support Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/socat/socat.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- 2.30.2