summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 4023d352e..1732a114f 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):