|
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBSSH
|
|
|
bool "libssh"
|
|
|
depends on BR2_USE_MMU # fork()
|
|
|
depends on !BR2_STATIC_LIBS
|
|
|
+ depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
# Either OpenSSL or libgcrypt are mandatory
|
|
|
select BR2_PACKAGE_LIBGCRYPT if !BR2_PACKAGE_OPENSSL
|
|
|
help
|
|
@@ -12,6 +13,6 @@ config BR2_PACKAGE_LIBSSH
|
|
|
|
|
|
http://www.libssh.org/
|
|
|
|
|
|
-comment "libssh needs a toolchain w/ dynamic library"
|
|
|
+comment "libssh needs a toolchain w/ dynamic library, threads"
|
|
|
depends on BR2_USE_MMU
|
|
|
- depends on BR2_STATIC_LIBS
|
|
|
+ depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|