diff --git a/package/tpm2-pkcs11/Config.in b/package/tpm2-pkcs11/Config.in index 46d5cab07e..5d45703223 100644 --- a/package/tpm2-pkcs11/Config.in +++ b/package/tpm2-pkcs11/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_TPM2_PKCS11 bool "tpm2-pkcs11" depends on !BR2_STATIC_LIBS # tpm2-tss + depends on BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_LIBYAML select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_SQLITE @@ -10,5 +11,5 @@ config BR2_PACKAGE_TPM2_PKCS11 https://github.com/tpm2-software/tpm2-pkcs11 -comment "tpm2-pkcs11 needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "tpm2-pkcs11 needs a toolchain w/ dynamic library, threads" + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS