libssh2: Make crypto backends selectable

This adds a choice to menuselect so people can select if they would like
to compile libssh2 against mbedtls (default) or openssl.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper
2018-02-03 13:26:16 +01:00
parent f85ffb54f1
commit 6b3f140c0c
2 changed files with 22 additions and 3 deletions
+15
View File
@@ -0,0 +1,15 @@
if PACKAGE_libssh2
choice
prompt "Choose crypto backend"
default LIBSSH2_MBEDTLS
config LIBSSH2_MBEDTLS
bool "mbedtls"
config LIBSSH2_OPENSSL
bool "openssl"
endchoice
endif