]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: Fix shlibs cross package-arch contamination
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 19 Jan 2013 23:29:08 +0000 (23:29 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 20 Jan 2013 12:57:31 +0000 (12:57 +0000)
commitacd7b1c2ee9f3ff84c45a723dba5e0bc5f6a100c
tree584b832c1982df812437a8cae0a910b2e31007dd
parent16b57e352f5844f301cc6c7ea4f87bf750c11d67
package.bbclass: Fix shlibs cross package-arch contamination

I found that if I had two packages architectures built (say core2 and i586),
that the shlibs data from i586 was being used in the core2 build. This
lead to odd dependency issues if the i586 build was out of date and core2
was being targetted.

When loading shlibs files, the last loaded wins so we need to iterate the
lists from least to strongest weighting, not the other way around. With this
patch applied, the contamination issue is resolved.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass