Skip to content

Commit 81246b0

Browse files
committed
Package cleanup
1 parent 66106ff commit 81246b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Package.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ import PackageDescription
88
/// * Creating a custom module.modulemap seems to fix build issues when using the proj.h header
99
/// * The public interface is C for the proj.h API we use, so we don't need to use the C++ headers exposed
1010
/// * The C++ header search paths are added so under the hood we can find the headers.
11-
/// * If we bundle proj.db, it needs to be in the src/ directory to embed it in the bundle
12-
/// * We need a `BundleHelper` to load the bundle from the SPM auto-created bundle in the next level up (not ideal, but it's data tied to this 9.4 release)
11+
/// * The 9.4_release_spm does not include proj.db, since with Bundles, we need to load resources in the
12+
/// package that requires it. So projections-ios loads the proj.db from it's own bundle. (In Cocoapods you could
13+
/// reach into other bundles, but not with SPM)
1314
/// * Potentially the 9.6_release_spm can provided proj.db in source, but I haven't figured how that integrates.
1415
/// * CMake autogenerates some files that need to be added like "proj_config.h" (9.6 has more autogenerated files)
1516

@@ -21,8 +22,7 @@ let package = Package(
2122
products: [
2223
.library(
2324
name: "proj",
24-
type: .static,
25-
// type: .dynamic,
25+
type: .static,
2626
targets: ["proj"]
2727
),
2828
],

0 commit comments

Comments
 (0)