* [Buildroot] [PATCH 1/1] package/lightning: needs threads
@ 2023-02-22 18:22 Fabrice Fontaine
2023-02-22 21:01 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2023-02-22 18:22 UTC (permalink / raw)
To: buildroot; +Cc: Paul Cercueil, Fabrice Fontaine
threads are mandatory since bump to version 2.2.0 in commit
af6f7aa76db5aed1eada0b27bd0375610a2fc728 and
https://git.savannah.gnu.org/cgit/lightning.git/commit/?id=d5a7c8e4ad719e84dbb4904c532f906a1ef5a77b:
In file included from incr.c:2:
../include/lightning.h:27:10: fatal error: pthread.h: No such file or directory
27 | #include <pthread.h>
| ^~~~~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/62205869159d4a73c59a9795140fa77e9c3310ae
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/lightning/Config.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/package/lightning/Config.in b/package/lightning/Config.in
index a0542edce9..3cf7c28ae2 100644
--- a/package/lightning/Config.in
+++ b/package/lightning/Config.in
@@ -1,13 +1,14 @@
-comment "lightning needs a toolchain w/ dynamic library"
+comment "lightning needs a toolchain w/ dynamic library, threads"
depends on BR2_sparc || BR2_i386 || BR2_x86_64 || BR2_mips || \
BR2_mipsel || BR2_arm || BR2_powerpc || BR2_RISCV_64
- depends on BR2_STATIC_LIBS
+ depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_LIGHTNING
bool "lightning"
depends on BR2_sparc || BR2_i386 || BR2_x86_64 || BR2_mips || \
BR2_mipsel || BR2_arm || BR2_powerpc || BR2_RISCV_64
depends on !BR2_STATIC_LIBS
+ depends on BR2_TOOLCHAIN_HAS_THREADS
help
GNU lightning is a library that generates
assembly language code at run-time.
--
2.39.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-22 21:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-22 18:22 [Buildroot] [PATCH 1/1] package/lightning: needs threads Fabrice Fontaine
2023-02-22 21:01 ` Thomas Petazzoni via buildroot
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.