summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/insane.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 5912ae494e..acb0f34b93 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -48,10 +48,10 @@ def package_qa_check_devdbg(path, name,d):
non dev packages containing
"""
- import bb
+ import bb, os
if not "-dev" in name:
- if path[-3:] == ".so":
- bb.fatal("QA Issue: non dev package contains .so: %s" % name)
+ if path[-3:] == ".so" and os.path.islink(path):
+ bb.fatal("QA Issue: non dev package contains symlink .so: %s" % name)
if not "-dbg" in name:
if '.debug' in path: