summaryrefslogtreecommitdiffstats
path: root/crypto/libssh2/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/libssh2/DEPENDS')
-rwxr-xr-xcrypto/libssh2/DEPENDS6
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto/libssh2/DEPENDS b/crypto/libssh2/DEPENDS
index 9418a0d199..a0115e19e7 100755
--- a/crypto/libssh2/DEPENDS
+++ b/crypto/libssh2/DEPENDS
@@ -1,2 +1,6 @@
-depends openssl &&
+if [ "$SSH2_CRYPTO" = libgcrypt ]; then
+ depends libgcrypt --with-libgcrypt
+else
+ depends SSL --with-openssl
+fi &&
depends zlib