From 10e842505a1daf1803186cb13fda3c6b11ca0448 Mon Sep 17 00:00:00 2001 From: Alsey Coleman Miller Date: Mon, 11 Apr 2022 12:18:31 -0700 Subject: [PATCH] Build as static library --- Package.swift | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Package.swift b/Package.swift index dfeb8bf..a7cc6ef 100644 --- a/Package.swift +++ b/Package.swift @@ -1,11 +1,7 @@ -// swift-tools-version:5.0 +// swift-tools-version:5.1 import PackageDescription -#if os(Linux) -let libraryType: PackageDescription.Product.Library.LibraryType = .dynamic -#else let libraryType: PackageDescription.Product.Library.LibraryType = .static -#endif let package = Package( name: "TLVCoding", @@ -19,6 +15,5 @@ let package = Package( targets: [ .target(name: "TLVCoding", path: "./Sources"), .testTarget(name: "TLVCodingTests", dependencies: ["TLVCoding"]) - ], - swiftLanguageVersions: [.v5] + ] )