socat: add optional openssl and readline support
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
442f13779e
commit
df2b2104f4
@@ -21,6 +21,18 @@ SOCAT_CONF_ENV = sc_cv_termios_ispeed=no \
|
|||||||
|
|
||||||
SOCAT_DEPENDENCIES = host-autoconf
|
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
|
define SOCAT_RUN_AUTOCONF
|
||||||
(cd $(@D); $(HOST_DIR)/usr/bin/autoconf)
|
(cd $(@D); $(HOST_DIR)/usr/bin/autoconf)
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in New Issue
Block a user