1 --- gobject-introspection-1.82.0/giscanner/ccompiler.py.orig
2 +++ gobject-introspection-1.82.0/giscanner/ccompiler.py
5 # Ensure libraries are always linked as we are going to use ldd to work
6 # out their names later
7 - if sys.platform != 'darwin':
8 + if sys.platform != 'darwin' and sys.platform != 'sunos5':
9 args.append('-Wl,--no-as-needed')
11 for library_path in libpaths:
14 # Ensure libraries are always linked as we are going to use ldd to work
15 # out their names later
16 - if os.name != 'nt' and sys.platform != 'darwin':
17 + if os.name != 'nt' and sys.platform != 'darwin' and sys.platform != 'sunos5':
18 args.append('-Wl,--no-as-needed')
20 for library in libraries: