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:
Richard Purdie 2008-07-15 10:56:56 +00:00
parent 47780f8c43
commit ba239b002f
1 changed files with 2 additions and 0 deletions

View File

@ -659,6 +659,8 @@ python package_do_shlibs() {
for file in files:
soname = None
path = os.path.join(root, file)
if os.path.islink(path):
continue
if targetos == "darwin" or targetos == "darwin8":
darwin_so(root, dirs, file)
elif os.access(path, os.X_OK) or lib_re.match(file):