diff options
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r-- | meta/classes/insane.bbclass | 6 |
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): | |||
48 | non dev packages containing | 48 | non dev packages containing |
49 | """ | 49 | """ |
50 | 50 | ||
51 | import bb | 51 | import bb, os |
52 | if not "-dev" in name: | 52 | if not "-dev" in name: |
53 | if path[-3:] == ".so": | 53 | if path[-3:] == ".so" and os.path.islink(path): |
54 | bb.fatal("QA Issue: non dev package contains .so: %s" % name) | 54 | bb.fatal("QA Issue: non dev package contains symlink .so: %s" % name) |
55 | 55 | ||
56 | if not "-dbg" in name: | 56 | if not "-dbg" in name: |
57 | if '.debug' in path: | 57 | if '.debug' in path: |