Skip to content

Commit 7bc85e7

Browse files
committed
Pass objects to linker flags as is in macro test projects
These are absolute paths, no "-l" is necessary here and is actually an error with eg. `ld.bfd`.
1 parent 47ca76b commit 7bc85e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SKTestSupport/SwiftPMTestProject.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ package class SwiftPMTestProject: MultiFileTestProject {
133133

134134
let linkerFlags = objectFiles.map {
135135
"""
136-
"-l", "\($0)",
136+
"\($0)",
137137
"""
138138
}.joined(separator: "\n")
139139

0 commit comments

Comments
 (0)