summaryrefslogtreecommitdiff
path: root/classes/insane.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/insane.bbclass')
-rw-r--r--classes/insane.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index 8a16922145..ad95603554 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -212,9 +212,9 @@ def package_qa_check_devdbg(path, name,d):
sane = True
if not "-dev" in name:
- if path[-3:] == ".so":
+ if path[-3:] == ".so" and os.path.islink(path):
package_qa_write_error( 0, name, path, d )
- bb.error("QA Issue: non dev package contains .so: %s path '%s'" % (name, package_qa_clean_path(path,d)))
+ bb.error("QA Issue: non -dev package %s contains symlink .so: %s path '%s'" % (name, package_qa_clean_path(path,d)))
if package_qa_make_fatal_error( 0, name, path, d ):
sane = False