Skip to content

Commit f1ef1af

Browse files
committed
Target+PkgConfig: Fix typo
1 parent 8e42800 commit f1ef1af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PackageLoading/Target+PkgConfig.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public func pkgConfigArgs(
106106
// See https://github.com/apple/swift-package-manager/issues/6439
107107
if let sdkRootPath = sdkRootPath {
108108
cFlags = try patchSDKPaths(in: cFlags, to: sdkRootPath)
109-
libs = try patchSDKPaths(in: cFlags, to: sdkRootPath)
109+
libs = try patchSDKPaths(in: libs, to: sdkRootPath)
110110
}
111111

112112
// Set the error if there are any disallowed flags.

0 commit comments

Comments
 (0)