Skip to content

Commit

Permalink
Merge pull request #1531 from lhames/issue-68785-release
Browse files Browse the repository at this point in the history
For scripts, use DYLD_FRAMEWORK/LIBRARY_PATH to find frameworks / runtimes.
  • Loading branch information
lhames committed Jan 29, 2024
2 parents 2738900 + 8d69bf6 commit 46bd60c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/SwiftDriver/Jobs/Toolchain+InterpreterSupport.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ extension DarwinToolchain {

addPathEnvironmentVariableIfNeeded("DYLD_FRAMEWORK_PATH", to: &envVars,
currentEnv: env, option: .F,
parsedOptions: &parsedOptions)
parsedOptions: &parsedOptions,
extraPaths: ["/System/Library/Frameworks"])

return envVars
}
Expand Down

0 comments on commit 46bd60c

Please sign in to comment.