Skip to contentSkip to conversation

log4cpp: needs threads

PATCH New Baruch Siach 2 participants 2 messages Jun 16, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 log4cpp: needs threads

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

---
 package/log4cpp/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/log4cpp/Config.in +3 -2
index 8bae7a5e8c50..090bf565f4ac 100755
@@ -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
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 log4cpp: needs threads

Hello,

Quoted 7 lines · Baruch Siach

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

---
 package/log4cpp/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com