diff options
author | Richard Purdie <richard@openedhand.com> | 2008-07-15 10:56:56 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-07-15 10:56:56 +0000 |
commit | ba239b002f1ec7970eef342cb349e6d8a12b0515 (patch) | |
tree | 9d0e48592ed96e6ee80502685eed4fefd14f4a91 /meta/classes/package.bbclass | |
parent | 47780f8c430bb66be796a95b948865b2aff52200 (diff) | |
download | poky-ba239b002f1ec7970eef342cb349e6d8a12b0515.tar.gz |
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/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 2 |
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() { | |||
659 | for file in files: | 659 | for file in files: |
660 | soname = None | 660 | soname = None |
661 | path = os.path.join(root, file) | 661 | path = os.path.join(root, file) |
662 | if os.path.islink(path): | ||
663 | continue | ||
662 | if targetos == "darwin" or targetos == "darwin8": | 664 | if targetos == "darwin" or targetos == "darwin8": |
663 | darwin_so(root, dirs, file) | 665 | darwin_so(root, dirs, file) |
664 | elif os.access(path, os.X_OK) or lib_re.match(file): | 666 | elif os.access(path, os.X_OK) or lib_re.match(file): |