Skip to content

Commit bb6b2fb

Browse files
committed
Explicitly link sybdb on Linux to resolve undefined reference errors
1 parent cad0ae3 commit bb6b2fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Package.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ let package = Package(
3434
path: "Sources/SQLClientSwift",
3535
swiftSettings: [
3636
.enableExperimentalFeature("StrictConcurrency=complete"),
37+
],
38+
linkerSettings: [
39+
.linkedLibrary("sybdb", .when(platforms: [.linux]))
3740
]
3841
),
3942
.testTarget(

0 commit comments

Comments
 (0)