[oe] [PATCH] shadow: Switch to getting libtool from PATH
Eric Bénard
eric at eukrea.com
Sun Oct 24 13:36:18 UTC 2010
* 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 at 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
More information about the Openembedded-devel
mailing list