* [Buildroot] [git commit branch/2022.02.x] package/php-apcu: needs threads
@ 2022-05-22 20:18 Peter Korsgaard
0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2022-05-22 20:18 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=17b2be9ba5b2f408c387f8f84370a0f7423b8c01
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x
php-apcu needs threads since its addition in commit
8ddeeffa186d8bce875ac713c1e71483c618842a:
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 commit 4bd5fc000bec111820f6caea0c9dc02a3f068c94)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/php-apcu/Config.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/php-apcu/Config.in b/package/php-apcu/Config.in
index 6338980222..f8e1eb17bb 100644
--- a/package/php-apcu/Config.in
+++ b/package/php-apcu/Config.in
@@ -1,6 +1,10 @@
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
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-22 20:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-22 20:18 [Buildroot] [git commit branch/2022.02.x] package/php-apcu: needs threads Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.