Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Packaging: Support using Tools Support Core dylib
When Swift Package Manager used the SwiftBuild framework, it eventually caused duplicate Swift Tools Support Core (TSC) duplicate symbols which come from Swift Driver and Swift PM. Swift PM depends on SwiftBuild, which depends on SwiftDriver, which statically links TSC. Swift PM also has a statically linked dependency on TSC. The proper solution is to have SwiftDriver and SwiftPM both depend on the TSC dynamic library when SwiftPM depends on the SwiftBuild framework, which is determined by setting the SWIFTPM_SWBUILD_FRAMEWORK environment variable. rdar://144547608
- Loading branch information