diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-01-19 15:51:05 -0500 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-01-19 15:51:05 -0500 |
commit | f45f10e5f35a0c26c67d56cebeda085799419b8f (patch) | |
tree | 9e8672a46f4282a593933f8fd4dc7f7ef3bd6aa4 /classes | |
parent | 8045ec55d729dde3a41ec2887ded81080651e038 (diff) |
package.bbclass: skip symlinks when generating shlib info in package_do_shlibs()
Diffstat (limited to 'classes')
-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) |