diff options
| author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2024-09-24 12:42:13 -0700 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-09-27 14:12:54 -0400 |
| commit | b7ce7c2d39cb537d9158e24e458ee5ce293a7bd3 (patch) | |
| tree | 2069c6dbf7484f98aa89268dba2c9cb2351f8209 /unittests | |
| parent | c3597520992b0743c7a954416bc414de9cf57ce8 (diff) | |
| download | meson-b7ce7c2d39cb537d9158e24e458ee5ce293a7bd3.tar.gz | |
linkers: Fix linker detection with clang on Solaris
Fixes: #13711
Diffstat (limited to 'unittests')
| -rw-r--r-- | unittests/allplatformstests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py index 3be97cb3b..ca4b194e6 100644 --- a/unittests/allplatformstests.py +++ b/unittests/allplatformstests.py @@ -1129,6 +1129,8 @@ class AllPlatformTests(BasePlatformTests): # ld-like linker of link.exe-like linker (usually the # former for msys2, the latter otherwise) self.assertIsInstance(cc.linker, (linkers.MSVCDynamicLinker, linkers.GnuLikeDynamicLinkerMixin)) + elif is_sunos(): + self.assertIsInstance(cc.linker, (linkers.SolarisDynamicLinker, linkers.GnuLikeDynamicLinkerMixin)) else: self.assertIsInstance(cc.linker, linkers.GnuLikeDynamicLinkerMixin) if isinstance(cc, intel): |
