* 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 <[email protected]>
---
 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


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to