summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-07-15 10:56:56 +0000
committerRichard Purdie <richard@openedhand.com>2008-07-15 10:56:56 +0000
commitba239b002f1ec7970eef342cb349e6d8a12b0515 (patch)
tree9d0e48592ed96e6ee80502685eed4fefd14f4a91 /meta
parent47780f8c430bb66be796a95b948865b2aff52200 (diff)
downloadopenembedded-core-ba239b002f1ec7970eef342cb349e6d8a12b0515.tar.gz
openembedded-core-ba239b002f1ec7970eef342cb349e6d8a12b0515.tar.bz2
openembedded-core-ba239b002f1ec7970eef342cb349e6d8a12b0515.zip
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
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 4023d352e1..1732a114f4 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -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):