95654305fc
softhsm2 needs threads since the addition of the package in commit
53873b6dae
to avoid the following build
failure:
osmutex.cpp:240:2: error: #error "There are no mutex implementations for your operating system yet"
240 | #error "There are no mutex implementations for your operating system yet"
| ^~~~~
While at it, fix a typo in comment
Fixes:
- http://autobuild.buildroot.org/results/40a8c2d9f58fbe490b6832754fdf8ac4ee0804fc
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
22 lines
772 B
Plaintext
22 lines
772 B
Plaintext
config BR2_PACKAGE_SOFTHSM2
|
|
bool "softhsm2"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on !BR2_STATIC_LIBS # dlopen()
|
|
select BR2_PACKAGE_OPENSSL
|
|
select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
|
|
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES
|
|
help
|
|
SoftHSM is an implementation of a cryptographic store
|
|
accessible through a PKCS#11 interface. You can use it
|
|
to explore PKCS#11 without having a Hardware Security
|
|
Module.
|
|
|
|
https://www.opendnssec.org/softhsm
|
|
|
|
comment "softhsm2 needs a toolchain w/ C++, threads, gcc >= 4.8 and dynamic library support"
|
|
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|