aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Eric Le Bihan <eric.le.bihan.dev@free.fr>2018-02-04 19:07:44 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-02-05 14:57:47 +0100
commit93a911fd5b14536e5c32298f0aa264c285015bcd (patch)
tree4d9315a6c933a805a2105b40a2855dc130fc0aba
parentb50522d838d8ddfef80bf8036e511319982da16e (diff)
downloadbuildroot-93a911fd5b14536e5c32298f0aa264c285015bcd.tar.gz
buildroot-93a911fd5b14536e5c32298f0aa264c285015bcd.tar.bz2
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>
-rw-r--r--package/libssh2/libssh2.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/libssh2/libssh2.mk b/package/libssh2/libssh2.mk
index 18e772c722..c5b0bd855e 100644
--- a/package/libssh2/libssh2.mk
+++ b/package/libssh2/libssh2.mk
@@ -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))