[Buildroot] [git commit] log4cpp: needs threads

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Jun 16 13:50:32 UTC 2016


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

Fixes:
http://autobuild.buildroot.net/results/cf9/cf942e4b8a5259414a4dcea6fa4b75183435394a/

Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/log4cpp/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/log4cpp/Config.in b/package/log4cpp/Config.in
index 8bae7a5..090bf56 100755
--- a/package/log4cpp/Config.in
+++ b/package/log4cpp/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LOG4CPP
 	bool "log4cpp"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Log4cpp is library of C++ classes for flexible logging to
 	  files, syslog, IDSA and other destinations.  It is modeled
@@ -9,5 +10,5 @@ config BR2_PACKAGE_LOG4CPP
 
 	  http://log4cpp.sourceforge.net/
 
-comment "log4cpp needs a toolchain w/ C++"
-	depends on !BR2_INSTALL_LIBSTDCPP
+comment "log4cpp needs a toolchain w/ C++, threads"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS


More information about the buildroot mailing list