]> code.ossystems Code Review - openembedded-core.git/commit
classes/debian: fix library path handling
authorRoss Burton <ross.burton@intel.com>
Tue, 16 Jan 2018 13:37:53 +0000 (13:37 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Jan 2018 16:36:22 +0000 (16:36 +0000)
commit7b1896f6f5367010b54c6a8b300db84037734533
tree136479153aabb089c0161a5e7260b7d3de85c6b8
parentd5e1003283f21ed0b3bbe594b24eb4fa1dd27956
classes/debian: fix library path handling

The existing code is looking for libraries in all paths which end in ${libdir}.
This caused false-positives for recipes such as lz4 which had files called
/usr/lib/lz4/ptest/usr/lib/liblz4.so, and resulted in lz4-ptest being
incorrectly renamed to liblz4.

Solve this by explicitly looking for ${libdir} etc under the packages-split
directory.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/debian.bbclass