]> code.ossystems Code Review - openembedded-core.git/commit
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:37:38 +0000 (17:37 +0100)
commit48b9ecd5335f63fb2bcc47c4b23d067122734fe9
tree23c4546dce8adf3f6c71af74fb01802da2671fcb
parent8dd09b3ddc572a338b4a6f1d859b68b2b4482d00
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.

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