From eaf8d92cb3a9a1b488fc6c1e31f808068b70f624 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.30.2

