diff options
-rw-r--r-- | classes/package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass index 8b7d6494ea..a7cdb5f2d5 100644 --- a/classes/package.bbclass +++ b/classes/package.bbclass @@ -615,7 +615,7 @@ python package_do_shlibs() { for file in files: soname = None path = os.path.join(root, file) - if os.access(path, os.X_OK) or lib_re.match(file): + if (os.access(path, os.X_OK) or lib_re.match(file)) and not os.path.islink(path): 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) |