[oe] [PATCH] shadow: Switch to getting libtool from PATH

Khem Raj raj.khem at gmail.com
Sun Oct 24 18:28:01 UTC 2010


2010/10/24 Eric Bénard <eric at eukrea.com>:
> * 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>

I have fixed it in autotools class. Basically it should have takes
care of setting
the sysroot correctly for arch and machine recipes equally. Should be fixed now
please pull and retest.

> ---
>  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
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list