File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -536,19 +536,14 @@ swift::dependencies::registerCxxInteropLibraries(
536
536
})) {
537
537
// Only link with CxxStdlib on platforms where the overlay is available.
538
538
switch (Target.getOS ()) {
539
- case llvm::Triple::Linux:
540
- if (!Target.isAndroid ())
541
- RegistrationCallback (LinkLibrary (" swiftCxxStdlib" ,
542
- LibraryKind::Library));
543
- break ;
544
539
case llvm::Triple::Win32: {
545
540
RegistrationCallback (
546
541
LinkLibrary (hasStaticCxxStdlib ? " libswiftCxxStdlib" : " swiftCxxStdlib" ,
547
542
LibraryKind::Library));
548
543
break ;
549
544
}
550
545
default :
551
- if (Target.isOSDarwin ())
546
+ if (Target.isOSDarwin () || Target. isOSLinux () )
552
547
RegistrationCallback (LinkLibrary (" swiftCxxStdlib" ,
553
548
LibraryKind::Library));
554
549
break ;
You can’t perform that action at this time.
0 commit comments