Skip to content

Commit

Permalink
trying to fix importing modules
Browse files Browse the repository at this point in the history
  • Loading branch information
awxkee committed Apr 27, 2022
1 parent 4ee0c1d commit 6f10159
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 4 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let package = Package(
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "bzip2.swift",
targets: ["bzip2.swift"]),
targets: ["bzip2.swift", "bzip2.objc"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
Expand Down Expand Up @@ -39,5 +39,7 @@ let package = Package(
dependencies: ["bzip2.swift"],
path: "Tests",
resources: [.process("bzip2.swiftTests/Test Files/XZ.txt")]),
]
],
swiftLanguageVersions: [.v5],
cLanguageStandard: .c11
)
3 changes: 0 additions & 3 deletions Sources/bzip2.swift/BZip+Data.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
//

import Foundation
#if SWIFT_PACKAGE
import bzip2objc
#endif

public extension Data {

Expand Down

0 comments on commit 6f10159

Please sign in to comment.