[oe-issues] [Bug 2140] RPATH of shared libraries contains host path, causing overhead
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Thu Apr 26 16:28:29 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=2140
------- Comment #3 from likewise at gmx.net 2007-04-26 09:28 -------
I found a bug:
txt is a list of strings, whereas bad_dir is a string. We want to check whether
bad_dir occurs as a *sub*string in any of the strings in the list.
output = os.popen("%s -Br %s" % (scanelf,file))
txt = output.readline.split()
if bad_dir in txt:
It must be changed to:
output = os.popen("%s -Br %s" % (scanelf,file))
txt = output.readline.split()
bb.note("Check RPATH bad_dir, txt: %s, %s" % (bad_dir, txt))
if any((bad_dir in a for a in txt)):
or we can keep it simple and keep working on strings:
output = os.popen("%s -Br %s" % (scanelf,file))
txt = output.readline()
if bad_dir in txt:
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Openembedded-issues
mailing list