From 6e6fdde69b1f4ab5d37b77312f0bb029211381d5 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 22 Jan 2007 17:04:39 +0000 Subject: 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 --- meta/classes/insane.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/classes') 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: -- cgit v1.2.3