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 b921b97 + ab48388 commit de67543Copy full SHA for de67543
Sources/SwiftDriver/Jobs/WindowsToolchain+LinkerSupport.swift
@@ -128,8 +128,10 @@ extension WindowsToolchain {
128
129
// Since Windows has separate libraries per architecture, link against the
130
// architecture specific version of the static library.
131
- commandLine.appendFlag(.L)
132
- commandLine.appendPath(VirtualPath.lookup(targetInfo.runtimeLibraryImportPaths.last!.path))
+ for libpath in targetInfo.runtimeLibraryImportPaths {
+ commandLine.appendFlag(.L)
133
+ commandLine.appendPath(VirtualPath.lookup(libpath.path))
134
+ }
135
136
if !parsedOptions.hasArgument(.nostartfiles) {
137
// Locate the Swift registration helper by honouring any explicit
0 commit comments