summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackage/log4cpp/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/log4cpp/Config.in b/package/log4cpp/Config.in
index 8bae7a5e8c..090bf565f4 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