We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa96a79 commit 840c822Copy full SHA for 840c822
Package.swift
@@ -26,11 +26,20 @@ let package = Package(
26
],
27
28
products: [
29
- .library(
30
- name: "Testing",
31
- type: .dynamic, // needed so Windows exports ABI entry point symbols
32
- targets: ["Testing"]
33
- ),
+ {
+#if os(Windows)
+ .library(
+ name: "Testing",
+ type: .dynamic, // needed so Windows exports ABI entry point symbols
34
+ targets: ["Testing"]
35
+ )
36
+#else
37
38
39
40
41
+#endif
42
+ }()
43
44
45
dependencies: [
0 commit comments