Skip to content

Commit b2488ae

Browse files
kabiroberaiMaxDesiatov
authored andcommitted
fix indentation
# Conflicts: # Sources/SwiftDriver/Jobs/WindowsToolchain+LinkerSupport.swift
1 parent af363df commit b2488ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/SwiftDriver/Jobs/WindowsToolchain+LinkerSupport.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ extension WindowsToolchain {
105105
commandLine.appendFlag("-fuse-ld=lld")
106106
}
107107

108-
try commandLine.appendLast(.ldPath, from: &parsedOptions)
108+
if let arg = parsedOptions.getLastArgument(.ldPath)?.asSingle {
109+
commandLine.append(.joinedOptionAndPath("--ld-path=", try VirtualPath(path: arg)))
110+
}
109111

110112
switch lto {
111113
case .some(.llvmThin):

0 commit comments

Comments
 (0)