diff options
-rw-r--r-- | classes/package.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass index c53b3ee708..132fdcb37a 100644 --- a/classes/package.bbclass +++ b/classes/package.bbclass @@ -576,6 +576,7 @@ python package_do_shlibs() { path = os.path.join(root, file) if os.access(path, os.X_OK) or lib_re.match(file): cmd = bb.data.getVar('OBJDUMP', d, 1) + " -p " + path + " 2>/dev/null" + cmd = "PATH=\"%s\" %s" % (bb.data.getVar('PATH', d, 1), cmd) fd = os.popen(cmd) lines = fd.readlines() fd.close() |