libssh2: add host variant

Allow build of host variant of libssh2, which depends on host-openssl.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Eric Le Bihan 2018-02-04 19:07:44 +01:00 committed by Peter Korsgaard
parent b50522d838
commit 93a911fd5b

View File

@ -40,4 +40,10 @@ else
LIBSSH2_CONF_OPTS += --without-libz
endif
HOST_LIBSSH2_DEPENDENCIES += host-openssl
HOST_LIBSSH2_CONF_OPTS += --with-openssl \
--with-libssl-prefix=$(HOST_DIR)/usr \
--without-libgcrypt
$(eval $(autotools-package))
$(eval $(host-autotools-package))