Skip to content

Commit 0126c17

Browse files
committed
Build as dynamic library
1 parent 5904cc2 commit 0126c17

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
@@ -1,6 +1,8 @@
11
// swift-tools-version:5.5
22
import PackageDescription
33

4+
let libraryType: PackageDescription.Product.Library.LibraryType = .dynamic
5+
46
let package = Package(
57
name: "BluetoothLinux",
68
platforms: [
@@ -12,6 +14,7 @@ let package = Package(
1214
products: [
1315
.library(
1416
name: "BluetoothLinux",
17+
type: libraryType,
1518
targets: ["BluetoothLinux"]
1619
)
1720
],

0 commit comments

Comments
 (0)