diff options
| author | KO Myung-Hun <komh@chollian.net> | 2023-07-03 23:00:01 +0900 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-14 08:16:23 -0800 |
| commit | f22c663932998e54b08a6c49706b5409bb1bb720 (patch) | |
| tree | 6273c306b8d5dee7bf0f382b05c8d86215b85fff | |
| parent | 1e9c4426211a9de808e00187d2cc0212bc48a875 (diff) | |
| download | meson-f22c663932998e54b08a6c49706b5409bb1bb720.tar.gz | |
OS/2 linker does not support a thin archive
| -rw-r--r-- | mesonbuild/linkers/linkers.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mesonbuild/linkers/linkers.py b/mesonbuild/linkers/linkers.py index 1539238ab..b28c71491 100644 --- a/mesonbuild/linkers/linkers.py +++ b/mesonbuild/linkers/linkers.py @@ -404,8 +404,10 @@ class ArLinker(ArLikeLinker, StaticLinker): # on Mac OS X, Solaris, or illumos, so don't build them on those OSes. # OS X ld rejects with: "file built for unknown-unsupported file format" # illumos/Solaris ld rejects with: "unknown file type" + # OS/2 ld rejects with: "malformed input file (not rel or archive)" if is_thin and not env.machines[self.for_machine].is_darwin() \ - and not env.machines[self.for_machine].is_sunos(): + and not env.machines[self.for_machine].is_sunos() \ + and not env.machines[self.for_machine].is_os2(): return self.std_thin_args else: return self.std_args |
