When checking for .so files in non-dev packages, only check for .so symlinks

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1195 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Ross Burton
2007-01-22 17:04:39 +00:00
parent ae28b7fed9
commit 6e6fdde69b

View File

@@ -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: