Received: from 30.mail-out.ovh.net ([213.186.62.213]) by linuxtogo.org with smtp (Exim 4.69) (envelope-from ) id 1PA0qe-00084u-AE for openembedded-devel@lists.openembedded.org; Sun, 24 Oct 2010 15:42:56 +0200 Received: (qmail 17703 invoked by uid 503); 24 Oct 2010 13:15:10 -0000 Received: from b9.ovh.net (HELO mail632.ha.ovh.net) (213.186.33.59) by 30.mail-out.ovh.net with SMTP; 24 Oct 2010 13:15:10 -0000 Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 24 Oct 2010 15:35:36 +0200 Received: from pac33-2-82-240-38-71.fbx.proxad.net (HELO localhost.localdomain) (ebenard%eukrea.com@82.240.38.71) by ns0.ovh.net with SMTP; 24 Oct 2010 15:35:35 +0200 From: =?utf-8?q?Eric=20B=C3=A9nard?= To: openembedded-devel@lists.openembedded.org Date: Sun, 24 Oct 2010 15:36:18 +0200 Message-Id: <1287927378-11971-1-git-send-email-eric@eukrea.com> X-Mailer: git-send-email 1.6.3.3 MIME-Version: 1.0 X-Ovh-Tracer-Id: 3902087603088371017 X-Ovh-Remote: 82.240.38.71 (pac33-2-82-240-38-71.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-SA-Exim-Connect-IP: 213.186.62.213 X-SA-Exim-Mail-From: eric@eukrea.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Cc: =?utf-8?q?Eric=20B=C3=A9nard?= Subject: [PATCH] shadow: Switch to getting libtool from PATH X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2010 13:42:57 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit * with PAM enabled, shadow's libtool sets lt_sysroot to the machine's sysroot and not the arch's sysroot, thus it can't find libpam. * by using libtool from PATH, this patch fix the problem. * tested using angstrom-2010.x for an arvm5te target Signed-off-by: Eric Bénard --- recipes/shadow/shadow.inc | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/recipes/shadow/shadow.inc b/recipes/shadow/shadow.inc index f1476b7..b8f1d2b 100644 --- a/recipes/shadow/shadow.inc +++ b/recipes/shadow/shadow.inc @@ -52,6 +52,9 @@ EXTRA_OECONF_libc-uclibc += "\ ${@base_contains('DISTRO_FEATURES', 'pam', '--with-libpam', '--without-libpam', d)} \ " +LIBTOOL = "${HOST_SYS}-libtool" +EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'" + CFLAGS += "-I../include" PACKAGES =+ "${PN}-group" -- 1.6.3.3