mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-18 17:50:06 +02:00
23 lines
787 B
Plaintext
23 lines
787 B
Plaintext
From 3e04269367381663b6d751a77f144e2ef69210ae Mon Sep 17 00:00:00 2001
|
|
From: begasus <begasus@gmail.com>
|
|
Date: Wed, 18 Dec 2019 15:22:46 +0000
|
|
Subject: Use objdump -x instead of ldd
|
|
|
|
|
|
diff --git a/giscanner/shlibs.py b/giscanner/shlibs.py
|
|
index 9f8ab5d..c2c7987 100644
|
|
--- a/giscanner/shlibs.py
|
|
+++ b/giscanner/shlibs.py
|
|
@@ -101,6 +101,8 @@ def _resolve_non_libtool(options, binary, libraries):
|
|
args.extend([options.ldd_wrapper, binary.args[0]])
|
|
elif platform_system == 'Darwin':
|
|
args.extend(['otool', '-L', binary.args[0]])
|
|
+ elif platform_system == 'Haiku':
|
|
+ args.extend(['objdump', '-x', binary.args[0]])
|
|
else:
|
|
args.extend(['ldd', binary.args[0]])
|
|
output = subprocess.check_output(args)
|
|
--
|
|
2.37.3
|
|
|