package.bbclass: Skip symlinks when searching for shlib dependencies since we can cross into the build system binaries
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4838 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
47780f8c43
commit
ba239b002f
|
@ -659,6 +659,8 @@ python package_do_shlibs() {
|
||||||
for file in files:
|
for file in files:
|
||||||
soname = None
|
soname = None
|
||||||
path = os.path.join(root, file)
|
path = os.path.join(root, file)
|
||||||
|
if os.path.islink(path):
|
||||||
|
continue
|
||||||
if targetos == "darwin" or targetos == "darwin8":
|
if targetos == "darwin" or targetos == "darwin8":
|
||||||
darwin_so(root, dirs, file)
|
darwin_so(root, dirs, file)
|
||||||
elif os.access(path, os.X_OK) or lib_re.match(file):
|
elif os.access(path, os.X_OK) or lib_re.match(file):
|
||||||
|
|
Loading…
Reference in New Issue