We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3c47c4f + a86b25a commit 06c963bCopy full SHA for 06c963b
lib/IRGen/GenDecl.cpp
@@ -492,7 +492,7 @@ void IRGenModule::emitSourceFile(SourceFile &SF) {
492
493
// Only link with std on platforms where the overlay is available.
494
// Do not try to link std with itself.
495
- if ((target.isOSDarwin() || target.isOSLinux()) &&
+ if ((target.isOSDarwin() || (target.isOSLinux() && !target.isAndroid())) &&
496
!getSwiftModule()->getName().is("Cxx") &&
497
!getSwiftModule()->getName().is("CxxStdlib") &&
498
!getSwiftModule()->getName().is("std")) {
0 commit comments