Skip to content

Commit 086ceee

Browse files
authored
Use -Xlinker when constructing response files for Swift AST paths (#384)
1 parent ad31a14 commit 086ceee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SWBTaskExecution/TaskActions/SwiftDriverTaskAction.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ final public class SwiftDriverTaskAction: TaskAction, BuildValueValidatingTaskAc
114114
for job in plannedBuild.explicitModulesPlannedDriverJobs() {
115115
for output in job.driverJob.outputs {
116116
if output.fileExtension == "swiftmodule" {
117-
responseFileCommandLine.append(contentsOf: ["-Wl,-add_ast_path", "-Wl,\(output.str)"])
117+
responseFileCommandLine.append(contentsOf: ["-Xlinker", "-add_ast_path", "-Xlinker", "\(output.str)"])
118118
}
119119
}
120120
}

0 commit comments

Comments
 (0)