From patchwork Mon Nov 11 13:37:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Dawson X-Patchwork-Id: 290284 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 34B6A2C00CB for ; Tue, 12 Nov 2013 00:37:18 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 034788D383; Mon, 11 Nov 2013 13:37:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BgCrtwa1EKhX; Mon, 11 Nov 2013 13:37:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 36F6D8D3A7; Mon, 11 Nov 2013 13:37:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 64F2D1BF847 for ; Mon, 11 Nov 2013 13:37:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5E3A28D3A7 for ; Mon, 11 Nov 2013 13:37:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xEZr5d7gDseK for ; Mon, 11 Nov 2013 13:37:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by whitealder.osuosl.org (Postfix) with ESMTPS id 519078D383 for ; Mon, 11 Nov 2013 13:37:14 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id k14so2957790wgh.23 for ; Mon, 11 Nov 2013 05:37:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=Tey1iU1q1/gAz3cXvFze2+VGtTxYEA0JUhEFVY/CaLA=; b=ajLoVghP5f+xmFwNO2oykD8hR/Aoxy7Bx2OFXYV4lRjSt/w9WuOjLxevAxzCLupbiB gHwvxw8jCx1qwnn+xd+rHZS/RQRElhP3U/l0611TJoLogbQxLZKccajZ/1gKke9l8SQv 0JqA/5/WW3IlGpeH++k1uft8dsEYYQy1b9+oWrusHPWAQgaGg3CfS7NOSpN8FCuGzcOW sPaod3Cg+QqjWAFRJgsHBBuI5sbb7e8dR9N6fVijLE4PxccjCmISw8mbzcOT7lXrRis7 c9oV67Jrt+sBt+qcCC7UYoBChsfjPFDCjimI1JZYT6cRG02yvX6TPfRfF2s+GQklWP2I pIdg== X-Received: by 10.180.182.82 with SMTP id ec18mr12349092wic.13.1384177032476; Mon, 11 Nov 2013 05:37:12 -0800 (PST) Received: from localhost.localdomain (host86-134-30-28.range86-134.btcentralplus.com. [86.134.30.28]) by mx.google.com with ESMTPSA id mw9sm35300701wib.0.2013.11.11.05.37.10 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Nov 2013 05:37:11 -0800 (PST) From: spdawson@gmail.com To: buildroot@busybox.net Date: Mon, 11 Nov 2013 13:37:09 +0000 Message-Id: <1384177029-25518-1-git-send-email-spdawson@gmail.com> X-Mailer: git-send-email 1.8.3.2 Subject: [Buildroot] [PATCH v2] log4cxx: needs threads X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: Simon Dawson Fixes build failures such as the following. http://autobuild.buildroot.net/results/7b73901d9e8b5098cd96b54d292bb3ffffb3fe37/ Signed-off-by: Simon Dawson --- v2: At the suggestion of Thomas De Schampheleire, update the comment to explain that dynamic library support is required package/log4cxx/Config.in | 6 ++++-- 1 file 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