summaryrefslogtreecommitdiffstats
path: root/src/libssh2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/libssh2.mk')
-rw-r--r--src/libssh2.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libssh2.mk b/src/libssh2.mk
index 01ced79..36c9c82 100644
--- a/src/libssh2.mk
+++ b/src/libssh2.mk
@@ -10,7 +10,7 @@ $(PKG)_SUBDIR := libssh2-$($(PKG)_VERSION)
$(PKG)_FILE := libssh2-$($(PKG)_VERSION).tar.gz
$(PKG)_WEBSITE := http://www.libssh2.org
$(PKG)_URL := http://www.libssh2.org/download/$($(PKG)_FILE)
-$(PKG)_DEPS := gcc openssl zlib
+$(PKG)_DEPS := gcc libgcrypt zlib
define $(PKG)_UPDATE
wget -q -O- 'http://www.libssh2.org/download/?C=M;O=D' | \
@@ -24,6 +24,8 @@ define $(PKG)_BUILD
--host='$(TARGET)' \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
+ --without-openssl \
+ --with-libgcrypt \
PKG_CONFIG='$(TARGET)-pkg-config'
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= html_DATA=