package.bbclass: Rewrite shlib_provider handling to include RPATH
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Jul 2014 17:40:55 +0000 (18:40 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Jul 2014 16:38:31 +0000 (17:38 +0100)
commitb8e58a92160b00e3b0c3f8e5037ced295bb0d232
tree5fe4d9772f847142ca485522c7ec001d344022c5
parent4ee27168143cf1dc1e094fb35fb430434160972a
package.bbclass: Rewrite shlib_provider handling to include RPATH

Change the do_package shlibs code to account for RPATHS. This means that
for library dependency purposes, only libraries in system paths or in
any declared RPATH will be seen. This is important to resolve problems
people have been having where similarly named libraries in "private"
paths were conflicting, e.g. with gstreamer.

For now this code assumes the default search path is libdir and
base_libdir and places ASSUME_SHLIBS in libdir so they are searched by
default.

(From OE-Core rev: 48b9ecd5335f63fb2bcc47c4b23d067122734fe9)

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