[Buildroot] [git commit] znc: add mandatory dependency on threads

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun May 20 16:48:52 UTC 2018


commit: https://git.buildroot.net/buildroot/commit/?id=bfbba99e01f53adfc8b8d1ce103d14f812cad29b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Threads support is mandatory since version 1.7.0:
https://github.com/znc/znc/commit/582cd635f5a047761b1052a40088ab86e62fffc1

Fixes:
 - http://autobuild.buildroot.net/results/cc56c7dbee594056288296398772ef9e22846299

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/znc/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/znc/Config.in b/package/znc/Config.in
index feca2c42f0..4fc7bbb95b 100644
--- a/package/znc/Config.in
+++ b/package/znc/Config.in
@@ -4,12 +4,13 @@ config BR2_PACKAGE_ZNC
 	depends on BR2_USE_MMU # fork()
 	depends on !BR2_STATIC_LIBS
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Advanced IRC bouncer
 
 	  http://www.znc.in
 
-comment "znc needs a toolchain w/ C++, dynamic library, gcc >= 4.8"
+comment "znc needs a toolchain w/ C++, dynamic library, gcc >= 4.8, threads"
 	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
-		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_MMU


More information about the buildroot mailing list