summaryrefslogtreecommitdiffstats
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2011-03-03 10:39:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-08 11:04:30 -0800
commitbd32707850886a390a053e4c4b5eb978c02cd155 (patch)
tree9588021afdc028056ffa992dcde0cc476c04aa45 /meta/classes/sanity.bbclass
parent63600973362ef11aaa6c0549a01c401ecc991aff (diff)
downloadpoky-bd32707850886a390a053e4c4b5eb978c02cd155.tar.gz
sanity.bbclass: some multilib systems have symlink /lib -> /lib64
* ie gentoo has /lib -> /lib64 * old test assumed only /lib64 -> /lib (From OE-Core rev: 776af6c2fa5a80debfafb4697c462d0dd0e7d76c) 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.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 13940f81db..433313b54a 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -211,7 +211,7 @@ def check_sanity(e):
211 nolibs = data.getVar('NO32LIBS', e.data, True) 211 nolibs = data.getVar('NO32LIBS', e.data, True)
212 if not nolibs: 212 if not nolibs:
213 lib32path = '/lib' 213 lib32path = '/lib'
214 if os.path.exists('/lib64') and os.path.islink('/lib64'): 214 if os.path.exists('/lib64') and ( os.path.islink('/lib64') or os.path.islink('/lib') ):
215 lib32path = '/lib32' 215 lib32path = '/lib32'
216 216
217 if os.path.exists('%s/libc.so.6' % lib32path) and not os.path.exists('/usr/include/gnu/stubs-32.h'): 217 if os.path.exists('%s/libc.so.6' % lib32path) and not os.path.exists('/usr/include/gnu/stubs-32.h'):