Skip to content

Commit 5222ade

Browse files
committed
Link to log library on Android
1 parent 5ea2f8b commit 5222ade

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Package.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ let package = Package(
6161
.define("SQLITE_TEMP_STORE", to: "2"),
6262
.define("HAVE_GETHOSTUUID", to: "0"),
6363
.define("SQLCIPHER_CRYPTO_LIBTOMCRYPT"),
64-
]),
64+
],
65+
linkerSettings: [.linkedLibrary("log", .when(platforms: [.android]))]),
6566
.testTarget(
6667
name: "SQLiteDBTests",
6768
dependencies: ["SQLiteDB"],

0 commit comments

Comments
 (0)