Skip to content

Commit

Permalink
Build as dynamic library
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed May 5, 2022
1 parent 5904cc2 commit 0126c17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// swift-tools-version:5.5
import PackageDescription

let libraryType: PackageDescription.Product.Library.LibraryType = .dynamic

let package = Package(
name: "BluetoothLinux",
platforms: [
Expand All @@ -12,6 +14,7 @@ let package = Package(
products: [
.library(
name: "BluetoothLinux",
type: libraryType,
targets: ["BluetoothLinux"]
)
],
Expand Down

0 comments on commit 0126c17

Please sign in to comment.