summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/insane.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 2a1e30b776..bf6a598484 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -292,6 +292,7 @@ def package_qa_check_libdir(d):
292 pkgdest = d.getVar('PKGDEST', True) 292 pkgdest = d.getVar('PKGDEST', True)
293 base_libdir = d.getVar("base_libdir",True) + os.sep 293 base_libdir = d.getVar("base_libdir",True) + os.sep
294 libdir = d.getVar("libdir", True) + os.sep 294 libdir = d.getVar("libdir", True) + os.sep
295 libexecdir = d.getVar("libexecdir", True) + os.sep
295 exec_prefix = d.getVar("exec_prefix", True) + os.sep 296 exec_prefix = d.getVar("exec_prefix", True) + os.sep
296 297
297 messages = [] 298 messages = []
@@ -322,7 +323,7 @@ def package_qa_check_libdir(d):
322 if base_libdir not in rel_path: 323 if base_libdir not in rel_path:
323 messages.append("%s: found library in wrong location: %s" % (package, rel_path)) 324 messages.append("%s: found library in wrong location: %s" % (package, rel_path))
324 if exec_re.match(rel_path): 325 if exec_re.match(rel_path):
325 if libdir not in rel_path: 326 if libdir not in rel_path and libexecdir not in rel_path:
326 messages.append("%s: found library in wrong location: %s" % (package, rel_path)) 327 messages.append("%s: found library in wrong location: %s" % (package, rel_path))
327 328
328 if messages: 329 if messages: