All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] shadow: Switch to getting libtool from PATH
@ 2010-10-24 13:36 Eric Bénard
  2010-10-24 18:28 ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Bénard @ 2010-10-24 13:36 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Eric Bénard

* 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 <eric@eukrea.com>
---
 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




^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-24 19:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-24 13:36 [PATCH] shadow: Switch to getting libtool from PATH Eric Bénard
2010-10-24 18:28 ` Khem Raj
2010-10-24 19:38   ` Eric Bénard
2010-10-24 19:46     ` Paul Menzel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.