summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/insane.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 27c225f3c0..938c84ee15 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -265,8 +265,8 @@ def package_qa_check_libdir(d):
full_path = os.path.join(root,file)
my_files.append(full_path[len(pkgd):])
- lib_re = re.compile("^/lib.*\.so")
- exec_re = re.compile("^%s.*/lib*.\.so" % exec_prefix)
+ lib_re = re.compile("^lib.+\.so(\..+)?$")
+ exec_re = re.compile("^%s.*/lib.+\.so(\..+)?$" % exec_prefix)
for file in my_files:
if lib_re.match(file):