summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2013-11-11 13:37:09 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-11-11 13:38:51 (GMT)
commit5f6dd5eb73f6e60916fea8b4a78787f270d95e65 (patch)
treed5376cacbfb040b48420078dbc6b2959438f9b7e
parentd54bba02a19c674c3c7ee3f8bb4b8dce2ce6ae65 (diff)
downloadbuildroot-5f6dd5eb73f6e60916fea8b4a78787f270d95e65.tar.gz
buildroot-5f6dd5eb73f6e60916fea8b4a78787f270d95e65.tar.bz2
log4cxx: needs threads
Fixes build failures such as the following. http://autobuild.buildroot.net/results/7b73901d9e8b5098cd96b54d292bb3ffffb3fe37/ Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/log4cxx/Config.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/log4cxx/Config.in b/package/log4cxx/Config.in
index 86d6a1d..8791b8c 100644
--- a/package/log4cxx/Config.in
+++ b/package/log4cxx/Config.in
@@ -5,11 +5,13 @@ config BR2_PACKAGE_LOG4CXX
# apr really needs shared library support
depends on !BR2_PREFER_STATIC_LIB
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_HAS_THREADS
help
Apache log4cxx is a logging framework for C++ patterned
after Apache log4j.
http://apache.linux-mirror.org/logging/log4cxx/0.10.0
-comment "log4cxx needs a toolchain w/ C++"
- depends on !BR2_INSTALL_LIBSTDCPP
+comment "log4cxx needs a toolchain w/ C++, threads, dynamic library"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+ BR2_PREFER_STATIC_LIB