From patchwork Sat Dec 27 13:47:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 424201 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 E608B1400B7 for ; Sun, 28 Dec 2014 00:47:43 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 20F16858DE; Sat, 27 Dec 2014 13:47:43 +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 Ki0ssfBeqezI; Sat, 27 Dec 2014 13:47:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8734B8598B; Sat, 27 Dec 2014 13:47:42 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id BEA931C1083 for ; Sat, 27 Dec 2014 13:47:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BAA8A858DE for ; Sat, 27 Dec 2014 13:47:41 +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 zJdLbzkk4aUe for ; Sat, 27 Dec 2014 13:47:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (down.free-electrons.com [37.187.137.238]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2825D859B3 for ; Sat, 27 Dec 2014 13:47:41 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 90197725; Sat, 27 Dec 2014 14:47:57 +0100 (CET) Received: from localhost (AToulouse-657-1-1002-244.w90-55.abo.wanadoo.fr [90.55.204.244]) by mail.free-electrons.com (Postfix) with ESMTPSA id F36007FB; Sat, 27 Dec 2014 14:47:39 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sat, 27 Dec 2014 14:47:18 +0100 Message-Id: <1419688038-15640-6-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1419688038-15640-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1419688038-15640-1-git-send-email-thomas.petazzoni@free-electrons.com> Cc: Thomas Petazzoni Subject: [Buildroot] [PATCH 5/5] guile: fix libltdl and libgmp detection X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" Explicitly pass the path to libtldl and libgmp, so that guile does not try to use host versions when available. Fixes: http://autobuild.buildroot.org/results/056/056b7fcbf3b73a8d15ca635b000771cdc2d7fbf9/ And another similar problem with libgmp. Signed-off-by: Thomas Petazzoni Reviewed-by: Samuel Martin Tested-by: Samuel Martin --- package/guile/guile.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/guile/guile.mk b/package/guile/guile.mk index 30af11d..194eca2 100644 --- a/package/guile/guile.mk +++ b/package/guile/guile.mk @@ -29,5 +29,9 @@ GUILE_CFLAGS = \ GUILE_CONF_ENV += GUILE_FOR_BUILD=$(HOST_DIR)/usr/bin/guile \ CFLAGS="$(TARGET_CFLAGS) $(GUILE_CFLAGS)" +GUILE_CONF_OPTS += \ + --with-libltdl-prefix=$(STAGING_DIR)/usr/lib \ + --with-libgmp-prefix=$(STAGING_DIR)/usr/lib + $(eval $(autotools-package)) $(eval $(host-autotools-package))