Skip to content

Commit 30ea0a9

Browse files
committed
Merge pull request #181 from aciidb0mb3r/patch-856
add Xcc for test exe on linux
2 parents f6c8f03 + 0298635 commit 30ea0a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/Build/describe().swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ public func describe(prefix: String, _ conf: Configuration, _ modules: [Module],
153153
let testDirectory = firstTestModule.sources.root.parentDirectory
154154
let main = Path.join(testDirectory, "LinuxMain.swift")
155155
args.append(main)
156+
for module in product.modules {
157+
args += module.Xcc
158+
}
156159
args.append("-emit-executable")
157160
args += ["-I", prefix]
158161
#endif

0 commit comments

Comments
 (0)