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 @@ -537,19 +537,14 @@ swift::dependencies::registerCxxInteropLibraries(
537
537
})) {
538
538
// Only link with CxxStdlib on platforms where the overlay is available.
539
539
switch (Target.getOS ()) {
540
- case llvm::Triple::Linux:
541
- if (!Target.isAndroid ())
542
- RegistrationCallback (LinkLibrary (" swiftCxxStdlib" ,
543
- LibraryKind::Library));
544
- break ;
545
540
case llvm::Triple::Win32: {
546
541
RegistrationCallback (
547
542
LinkLibrary (hasStaticCxxStdlib ? " libswiftCxxStdlib" : " swiftCxxStdlib" ,
548
543
LibraryKind::Library));
549
544
break ;
550
545
}
551
546
default :
552
- if (Target.isOSDarwin ())
547
+ if (Target.isOSDarwin () || Target. isOSLinux () )
553
548
RegistrationCallback (LinkLibrary (" swiftCxxStdlib" ,
554
549
LibraryKind::Library));
555
550
break ;
You can’t perform that action at this time.
0 commit comments