Obsolete raptor 1.4 API
[oi-userland.git] / components / library / gobject-introspection / patches / 03-no-as-needed.patch
blob7a17d5a51e1e69ab0b56feaf262b7af81a34d477
1 --- gobject-introspection-1.82.0/giscanner/ccompiler.py.orig
2 +++ gobject-introspection-1.82.0/giscanner/ccompiler.py
3 @@ -242,7 +242,7 @@
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:
12 @@ -291,7 +291,7 @@
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: