[OE-core] [PATCH] image-mklibs: pass correct libdir to mklibs

Richard Purdie richard.purdie at linuxfoundation.org
Tue Aug 7 11:55:12 UTC 2012


On Tue, 2012-08-07 at 10:31 +0800, Jesse Zhang wrote:
> libdir should be specified, or else mklibs won't work for 64bit targets.
> It wouldn't be able to find the libs.
> 
>     Traceback (most recent call last):
>       File "<build>/bitbake_build/tmp/sysroots/i686-linux/usr/bin/x86_64-wrs-linux/mklibs", line 553, in <module>
>         header = elf_header(find_lib(libraries.copy().pop()))
>       File "<build>/bitbake_build/tmp/sysroots/i686-linux/usr/bin/x86_64-wrs-linux/mklibs", line 89, in elf_header
>         raise Exception("Cannot find lib: " + obj)
>     Exception: Cannot find lib:
> 
> Signed-off-by: Jesse Zhang <sen.zhang at windriver.com>
> ---
>  meta/classes/image-mklibs.bbclass |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Merged to master, thanks.

Richard





More information about the Openembedded-core mailing list