1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-09 15:50:16 +00:00

staging.bbclass: Fix wrong library paths in sysroot_strip

Do not reset libdir and base_libdir in sysroot_strip, and just pass crude
paths as they will be reset later in strip_execs.

(From OE-Core rev: eab7f448aa537539b45ee21df4ea25de97e60a7e)

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Junling Zheng
2019-11-16 22:12:13 +08:00
committed by Richard Purdie
parent 63dd6190cb
commit b7fbe1a597
+2 -2
View File
@@ -75,8 +75,8 @@ python sysroot_strip () {
dstdir = d.getVar('SYSROOT_DESTDIR')
pn = d.getVar('PN')
libdir = os.path.abspath(dstdir + os.sep + d.getVar("libdir"))
base_libdir = os.path.abspath(dstdir + os.sep + d.getVar("base_libdir"))
libdir = d.getVar("libdir")
base_libdir = d.getVar("base_libdir")
qa_already_stripped = 'already-stripped' in (d.getVar('INSANE_SKIP_' + pn) or "").split()
strip_cmd = d.getVar("STRIP")