Commit df2b2104 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Peter Korsgaard
Browse files

socat: add optional openssl and readline support

parent 442f1377
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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