package/jitterentropy-library: needs threads

Fix the following build failure raised since bump to version 3.3.1 in
commit 3965f09cb4 and
1e94512db6

In file included from ./jitterentropy.h:98,
                 from src/jitterentropy-gcd.c:22:
./jitterentropy-base-user.h:74:10: fatal error: pthread.h: No such file or directory
   74 | #include <pthread.h>
      |          ^~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/7b01eca8f1442318dd35282605fc8815e6afb0d0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2022-01-06 23:30:39 +01:00 committed by Peter Korsgaard
parent 211063b953
commit c28b93248a

View File

@ -1,6 +1,10 @@
config BR2_PACKAGE_JITTERENTROPY_LIBRARY
bool "libjitterentropy"
depends on BR2_TOOLCHAIN_HAS_THREADS
help
Hardware RNG based on CPU timing jitter.
https://github.com/smuellerDD/jitterentropy-library
comment "libjitterentropy needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS