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