From patchwork Sun Aug 24 16:53:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 382508 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id A530B1400DD for ; Mon, 25 Aug 2014 02:53:31 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 991EFA06FA; Sun, 24 Aug 2014 16:53:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0TUo4p6nNcIf; Sun, 24 Aug 2014 16:53:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 97676A05A4; Sun, 24 Aug 2014 16:53:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 78BBC1BF9AE for ; Sun, 24 Aug 2014 16:53:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 73B64305D1 for ; Sun, 24 Aug 2014 16:53:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UNgHTO4UPmjB for ; Sun, 24 Aug 2014 16:53:25 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) by silver.osuosl.org (Postfix) with ESMTPS id 114072FCD7 for ; Sun, 24 Aug 2014 16:53:24 +0000 (UTC) Received: from localhost.localdomain (unknown [81.57.22.125]) by smtp3-g21.free.fr (Postfix) with ESMTP id 8B075A6230; Sun, 24 Aug 2014 18:53:22 +0200 (CEST) From: Romain Naour To: buildroot@buildroot.net Date: Sun, 24 Aug 2014 18:53:06 +0200 Message-Id: <1408899186-28542-3-git-send-email-romain.naour@openwide.fr> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1408899186-28542-1-git-send-email-romain.naour@openwide.fr> References: <1408899186-28542-1-git-send-email-romain.naour@openwide.fr> Subject: [Buildroot] [PATCH 3/3] package/libarchive: fix linking issue with uClibc 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 With uClibc the dynamic linking loader functions needs to be linked with -ldl Fixes: http://autobuild.buildroot.net/results/6af/6af140618b274536238b062635d493709905c8f6/build-end.log Signed-off-by: Romain Naour --- package/libarchive/libarchive.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk index 8c6951d..ce3355c 100644 --- a/package/libarchive/libarchive.mk +++ b/package/libarchive/libarchive.mk @@ -68,4 +68,8 @@ else LIBARCHIVE_CONF_OPT += --without-zlib endif +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +LIBARCHIVE_CONF_ENV += LIBS="-ldl" +endif + $(eval $(autotools-package))