We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 106c681 commit 0100d60Copy full SHA for 0100d60
Package.swift
@@ -61,6 +61,12 @@ let swiftPMProduct = (
61
]
62
)
63
64
+#if os(Windows)
65
+let systemSQLitePkgConfig: String? = nil
66
+#else
67
+let systemSQLitePkgConfig: String? = "sqlite3"
68
+#endif
69
+
70
/** An array of products which have two versions listed: one dynamically linked, the other with the
71
automatic linking type with `-auto` suffix appended to product's name.
72
*/
@@ -143,7 +149,7 @@ let package = Package(
143
149
144
150
// MARK: SwiftPM specific support libraries
145
151
146
- .systemLibrary(name: "SPMSQLite3", pkgConfig: "sqlite3"),
152
+ .systemLibrary(name: "SPMSQLite3", pkgConfig: systemSQLitePkgConfig),
147
153
148
154
.target(
155
name: "Basics",
0 commit comments