]> code.ossystems Code Review - openembedded-core.git/commit
icecc-create-env: Fix library interpreter usage
authorJoshua Watt <jpewhacker@gmail.com>
Wed, 11 Apr 2018 02:21:56 +0000 (21:21 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Apr 2018 15:55:25 +0000 (16:55 +0100)
commit4f55e61e9e3dd921bd71a127580dc5fc71d7b339
treed08f6632de59a6dfbfa2570a1c53c162481e8827
parentd1e88ad01df9b6419e02f632b1ba288d4cc3b2bf
icecc-create-env: Fix library interpreter usage

Shared libraries sometimes (frequently?) don't have a program
interpreter specified. The previous code would fail to find the library
dependencies in these cases because no interpreter could be found.
Commonly, this meant that if a library depends on another library, it
might not be included toolchain because dependency scanning stops with
the first one.

Instead, capture the program interpreter from the program or library
that starts the dependency chain and use that interpreter to get all of
the dependencies in the chain, recursively.

Additionally, if no interpreter can be found, fallback to using ldd

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env