package/libp11: needs threads

threads are mandatory since bump to version 0.4.12 in commit
86ab91483d and
4bd92da60a:

In file included from eng_back.c:30:
p11_pthread.h:92:2: error: #error Locking not supported on this platform.
   92 | #error Locking not supported on this platform.
      |  ^~~~~

Fixes:
 - http://autobuild.buildroot.org/results/22adeb78ec4a807c362e6666825f50db6c0408f7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2022-07-19 23:56:19 +02:00 committed by Thomas Petazzoni
parent 06a1a05b55
commit a81caea821

View File

@ -1,6 +1,7 @@
config BR2_PACKAGE_LIBP11
bool "libp11"
depends on !BR2_STATIC_LIBS # dlopen
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_OPENSSL
help
OpenSSL engine for PKCS#11 modules. Part of the OpenSC
@ -8,5 +9,5 @@ config BR2_PACKAGE_LIBP11
https://github.com/OpenSC/OpenSC/wiki
comment "libp11 needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
comment "libp11 needs a toolchain w/ dynamic library, threads"
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS