Skip to content

Commit de736e4

Browse files
committed
Rename env var with more accurate name
The SWIFTPM_SWBUILD_FRAMEWORK environment variable used in the Package.swift is not indicative of the actual behaviour. Rename the environment variable to SWIFT_DRIVER_USE_STSC_DYLIB to more clearly indicate the behavioural change when it is set.
1 parent 08f5af3 commit de736e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if let deploymentTarget = ProcessInfo.processInfo.environment["SWIFTPM_MACOS_DEP
1010
macOSPlatform = .macOS(.v12)
1111
}
1212

13-
let swiftToolsSupportCoreLibName = (ProcessInfo.processInfo.environment["SWIFTPM_SWBUILD_FRAMEWORK"] == nil) ? "SwiftToolsSupport-auto": "SwiftToolsSupport"
13+
let swiftToolsSupportCoreLibName = (ProcessInfo.processInfo.environment["SWIFT_DRIVER_USE_STSC_DYLIB"] == nil) ? "SwiftToolsSupport-auto": "SwiftToolsSupport"
1414

1515
let package = Package(
1616
name: "swift-driver",

0 commit comments

Comments
 (0)