diff options
author | Leon Woestenberg <leon.woestenberg@gmail.com> | 2007-04-26 16:42:07 +0000 |
---|---|---|
committer | Leon Woestenberg <leon.woestenberg@gmail.com> | 2007-04-26 16:42:07 +0000 |
commit | 908abeae497d81c0afd6381c08311aa45555157b (patch) | |
tree | a369973543d3d1aec4c8d1a601e52f9b25d600f7 /classes | |
parent | 2497c24bd1bee25d1ef9fb3eaff88624e5068293 (diff) |
insane.bbclass: Fix check for bad RPATHs. This is gonna break builds. Needs fixes in the shared library handling.
Diffstat (limited to 'classes')
-rw-r--r-- | classes/insane.bbclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass index 8ef4858aa4..15e2061239 100644 --- a/classes/insane.bbclass +++ b/classes/insane.bbclass @@ -210,11 +210,11 @@ def package_qa_check_rpath(file,name,d): output = os.popen("%s -Byr %s" % (scanelf,file)) txt = output.readline().split() - if bad_dir in txt: - package_qa_write_error( 1, name, file, d) - bb.error("QA Issue package %s contains bad RPATH %s in file %s" % (name, txt, file)) - return False - + for line in txt: + if bad_dir in line: + package_qa_write_error( 1, name, file, d) + bb.error("QA Issue package %s contains bad RPATH %s in file %s" % (name, line, file)) + return False return True def package_qa_check_devdbg(path, name,d): |