|
|
@ -2606,8 +2606,10 @@ class AllPlatformTests(BasePlatformTests): |
|
|
|
if is_osx(): |
|
|
|
if is_osx(): |
|
|
|
self.assertIsInstance(cc.linker, mesonbuild.linkers.AppleDynamicLinker) |
|
|
|
self.assertIsInstance(cc.linker, mesonbuild.linkers.AppleDynamicLinker) |
|
|
|
elif is_windows(): |
|
|
|
elif is_windows(): |
|
|
|
# This is clang, not clang-cl |
|
|
|
# This is clang, not clang-cl. This can be either an |
|
|
|
self.assertIsInstance(cc.linker, mesonbuild.linkers.MSVCDynamicLinker) |
|
|
|
# ld-like linker of link.exe-like linker (usually the |
|
|
|
|
|
|
|
# former for msys2, the latter otherwise) |
|
|
|
|
|
|
|
self.assertIsInstance(cc.linker, (mesonbuild.linkers.MSVCDynamicLinker, mesonbuild.linkers.GnuLikeDynamicLinkerMixin)) |
|
|
|
else: |
|
|
|
else: |
|
|
|
self.assertIsInstance(cc.linker, mesonbuild.linkers.GnuLikeDynamicLinkerMixin) |
|
|
|
self.assertIsInstance(cc.linker, mesonbuild.linkers.GnuLikeDynamicLinkerMixin) |
|
|
|
if isinstance(cc, intel): |
|
|
|
if isinstance(cc, intel): |
|
|
|