patchSDKPaths(in:to:)

    Replaces any path containing *.sdk with the current SDK to avoid conflicts.

    Target+PkgConfig.swift:320
    func patchSDKPaths(in flags: [String], to sdkRootPath: AbsolutePath) throws -> [String]

    See https://github.com/swiftlang/swift-package-manager/issues/6439 for details.