From patchwork Thu May 17 19:26:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 160004 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id E0C03B6FAA for ; Fri, 18 May 2012 05:27:09 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B100EA0388; Thu, 17 May 2012 19:27:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vXiqzFWb3My4; Thu, 17 May 2012 19:27:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 5DFF5A010F; Thu, 17 May 2012 19:27:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id E52308F753 for ; Thu, 17 May 2012 19:27:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E31FCA010F for ; Thu, 17 May 2012 19:27:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2F9dzDUUyNEo for ; Thu, 17 May 2012 19:27:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [88.190.12.23]) by hemlock.osuosl.org (Postfix) with ESMTP id A9CA2A00BE for ; Thu, 17 May 2012 19:27:01 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 115821AE; Thu, 17 May 2012 21:26:55 +0200 (CEST) Received: from localhost (humanoidz.org [82.247.183.72]) by mail.free-electrons.com (Postfix) with ESMTPSA id 4D28BD1 for ; Thu, 17 May 2012 21:26:47 +0200 (CEST) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Thu, 17 May 2012 21:26:45 +0200 Message-Id: <1337282805-8551-1-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 Subject: [Buildroot] [PATCH] apr: requires shared library support 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 The apr library requires shared library support unconditionally, so make it depend on !BR2_PREFER_STATIC_LIB, so that architectures that support static libraries only do not make this package available. Solves http://autobuild.buildroot.org/results/f4cd9751e85e9ee7fde2e9479e0f01ab2be93e84/build-end.log. Signed-off-by: Thomas Petazzoni --- package/apr-util/Config.in | 2 ++ package/apr/Config.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/package/apr-util/Config.in b/package/apr-util/Config.in index 99b32f2..895dbb8 100644 --- a/package/apr-util/Config.in +++ b/package/apr-util/Config.in @@ -5,6 +5,8 @@ config BR2_PACKAGE_APR_UTIL select BR2_PACKAGE_NEON select BR2_PACKAGE_NEON_ZLIB select BR2_PACKAGE_ZLIB + # apr really needs shared library support + depends on !BR2_PREFER_STATIC_LIB help The utility library for the apache runtime project diff --git a/package/apr/Config.in b/package/apr/Config.in index 292cadb..ed319ed 100644 --- a/package/apr/Config.in +++ b/package/apr/Config.in @@ -1,5 +1,7 @@ config BR2_PACKAGE_APR bool "apr" + # apr really needs shared library support + depends on !BR2_PREFER_STATIC_LIB help The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and