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(
536536 })) {
537537 // Only link with CxxStdlib on platforms where the overlay is available.
538538 switch (Target.getOS ()) {
539- case llvm::Triple::Linux:
540- if (!Target.isAndroid ())
541- RegistrationCallback (LinkLibrary (" swiftCxxStdlib" ,
542- LibraryKind::Library));
543- break ;
544539 case llvm::Triple::Win32: {
545540 RegistrationCallback (
546541 LinkLibrary (hasStaticCxxStdlib ? " libswiftCxxStdlib" : " swiftCxxStdlib" ,
547542 LibraryKind::Library));
548543 break ;
549544 }
550545 default :
551- if (Target.isOSDarwin ())
546+ if (Target.isOSDarwin () || Target. isOSLinux () )
552547 RegistrationCallback (LinkLibrary (" swiftCxxStdlib" ,
553548 LibraryKind::Library));
554549 break ;
You can’t perform that action at this time.
0 commit comments