diff options
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 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'): |