[gobject-introspection] [shlib] Use ldd on all non-Darwin platforms
- From: Johan Dahlin <johan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] [shlib] Use ldd on all non-Darwin platforms
- Date: Sun, 6 Jun 2010 22:18:56 +0000 (UTC)
commit 7d82920e00359c22fba826d0a0113f28db06eded
Author: Johan Dahlin <johan gnome org>
Date: Sun Jun 6 19:18:33 2010 -0300
[shlib] Use ldd on all non-Darwin platforms
giscanner/shlibs.py | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/giscanner/shlibs.py b/giscanner/shlibs.py
index 4266c5c..6a9d284 100644
--- 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]