php-apcu needs threads since its addition in commit8ddeeffa18
: In file included from /home/buildroot/autobuild/instance-3/output-1/build/php-apcu-5.1.20/apc_lock.c:20: /home/buildroot/autobuild/instance-3/output-1/build/php-apcu-5.1.20/apc_lock.h:41:11: fatal error: pthread.h: No such file or directory 41 | # include "pthread.h" | ^~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/314405423aeece5ee55d76ec5c4fa1919e7ee853 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Acked-by: Herve Codina <herve.codina@bootlin.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (cherry picked from commit4bd5fc000b
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 lines
264 B
Plaintext
11 lines
264 B
Plaintext
config BR2_PACKAGE_PHP_APCU
|
|
bool "php-apcu"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
help
|
|
APCu is an in-memory key-value store for PHP.
|
|
|
|
https://pecl.php.net/package/APCu
|
|
|
|
comment "php-apcu needs a toolchain w/ threads"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|