diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2011-03-03 10:39:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-08 10:49:13 -0800 |
commit | 776af6c2fa5a80debfafb4697c462d0dd0e7d76c (patch) | |
tree | 15f737e2d30011081c157f89eb25f21de60076e7 /meta/classes/sanity.bbclass | |
parent | 9a86fa5235ab8715319709ff2171864a074aed37 (diff) | |
download | openembedded-core-776af6c2fa5a80debfafb4697c462d0dd0e7d76c.tar.gz openembedded-core-776af6c2fa5a80debfafb4697c462d0dd0e7d76c.tar.bz2 openembedded-core-776af6c2fa5a80debfafb4697c462d0dd0e7d76c.tar.xz openembedded-core-776af6c2fa5a80debfafb4697c462d0dd0e7d76c.zip |
sanity.bbclass: some multilib systems have symlink /lib -> /lib64
* ie gentoo has /lib -> /lib64
* old test assumed only /lib64 -> /lib
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r-- | meta/classes/sanity.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 13940f81d..433313b54 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -211,7 +211,7 @@ def check_sanity(e): nolibs = data.getVar('NO32LIBS', e.data, True) if not nolibs: lib32path = '/lib' - if os.path.exists('/lib64') and os.path.islink('/lib64'): + if os.path.exists('/lib64') and ( os.path.islink('/lib64') or os.path.islink('/lib') ): lib32path = '/lib32' if os.path.exists('%s/libc.so.6' % lib32path) and not os.path.exists('/usr/include/gnu/stubs-32.h'): |