Skip to content

Commit fda98d3

Browse files
committed
Enable embedded SQLite for Android builds
Android has no system libsqlite3, so force the SQLiteSwiftCSQLite trait instead of relying on SQLite.swift's os(Linux)-only default.
1 parent 0ff2be3 commit fda98d3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Package.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 6.0
1+
// swift-tools-version: 6.1
22
import PackageDescription
33

44
let package = Package(
@@ -22,7 +22,8 @@ let package = Package(
2222
),
2323
.package(
2424
url: "https://github.com/stephencelis/SQLite.swift.git",
25-
from: "0.16.0"
25+
from: "0.16.0",
26+
traits: ["SQLiteSwiftCSQLite"]
2627
)
2728
],
2829
targets: [

0 commit comments

Comments
 (0)