]> code.ossystems Code Review - openembedded-core.git/commitdiff
package.bbclass: Skip symlinks when searching for shlib dependencies since we can...
authorRichard Purdie <richard@openedhand.com>
Tue, 15 Jul 2008 10:56:56 +0000 (10:56 +0000)
committerRichard Purdie <richard@openedhand.com>
Tue, 15 Jul 2008 10:56:56 +0000 (10:56 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4838 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/package.bbclass

index 4023d352e1fc77576f3c6e1532c8751faf85e5cd..1732a114f4e529ec56a3d4c82e2624140d35c515 100644 (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):