projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7757598
)
[shlib] Use ldd on all non-Darwin platforms
author
Johan Dahlin
<johan@gnome.org>
Sun, 6 Jun 2010 22:18:33 +0000
(19:18 -0300)
committer
Johan Dahlin
<johan@gnome.org>
Sun, 6 Jun 2010 22:18:33 +0000
(19:18 -0300)
giscanner/shlibs.py
patch
|
blob
|
history
diff --git
a/giscanner/shlibs.py
b/giscanner/shlibs.py
index
4266c5c
..
6a9d284
100644
(file)
--- a/
giscanner/shlibs.py
+++ b/
giscanner/shlibs.py
@@
-75,11
+75,8
@@
def _resolve_non_libtool(options, binary, libraries):
platform_system = platform.system()
if platform_system == 'Darwin':
args.extend(['otool', '-L', binary.args[0]])
- elif platform_system == 'Linux':
- args.extend(['ldd', binary.args[0]])
else:
- raise SystemExit("Unsupported platform system: " %
- (platform_system, ))
+ args.extend(['ldd', binary.args[0]])
proc = subprocess.Popen(args, stdout=subprocess.PIPE)
patterns = {}
for library in libraries: