Global Functionswift-package-manager 6.0.1PackageLoading
patchSDKPaths(in:to:)
Replaces any path containing *.sdk with the current SDK to avoid conflicts.
Target+PkgConfig.swift:320func patchSDKPaths(in flags: [String], to sdkRootPath: AbsolutePath) throws -> [String]
See https://github.com/swiftlang/swift-package-manager/issues/6439 for details.