summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 6aed4cac70..d0b2db6ae8 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1579,19 +1579,19 @@ python package_do_shlibs() {
1579 if file.endswith('.dylib') or file.endswith('.so'): 1579 if file.endswith('.dylib') or file.endswith('.so'):
1580 rpath = [] 1580 rpath = []
1581 p = sub.Popen([d.expand("${HOST_PREFIX}otool"), '-l', file],stdout=sub.PIPE,stderr=sub.PIPE) 1581 p = sub.Popen([d.expand("${HOST_PREFIX}otool"), '-l', file],stdout=sub.PIPE,stderr=sub.PIPE)
1582 err, out = p.communicate() 1582 out, err = p.communicate()
1583 # If returned successfully, process stderr for results 1583 # If returned successfully, process stdout for results
1584 if p.returncode == 0: 1584 if p.returncode == 0:
1585 for l in err.split("\n"): 1585 for l in out.split("\n"):
1586 l = l.strip() 1586 l = l.strip()
1587 if l.startswith('path '): 1587 if l.startswith('path '):
1588 rpath.append(l.split()[1]) 1588 rpath.append(l.split()[1])
1589 1589
1590 p = sub.Popen([d.expand("${HOST_PREFIX}otool"), '-L', file],stdout=sub.PIPE,stderr=sub.PIPE) 1590 p = sub.Popen([d.expand("${HOST_PREFIX}otool"), '-L', file],stdout=sub.PIPE,stderr=sub.PIPE)
1591 err, out = p.communicate() 1591 out, err = p.communicate()
1592 # If returned successfully, process stderr for results 1592 # If returned successfully, process stdout for results
1593 if p.returncode == 0: 1593 if p.returncode == 0:
1594 for l in err.split("\n"): 1594 for l in out.split("\n"):
1595 l = l.strip() 1595 l = l.strip()
1596 if not l or l.endswith(":"): 1596 if not l or l.endswith(":"):
1597 continue 1597 continue