Skip to content

Commit 89ddbd4

Browse files
authored
Merge pull request #1525 from lhames/issue-68785
For scripts, use DYLD_FRAMEWORK/LIBRARY_PATH to find frameworks / run…
2 parents 1ef0e3e + 6b6ff47 commit 89ddbd4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/SwiftDriver/Jobs/Toolchain+InterpreterSupport.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ extension DarwinToolchain {
4343

4444
addPathEnvironmentVariableIfNeeded("DYLD_FRAMEWORK_PATH", to: &envVars,
4545
currentEnv: env, option: .F,
46-
parsedOptions: &parsedOptions)
46+
parsedOptions: &parsedOptions,
47+
extraPaths: ["/System/Library/Frameworks"])
4748

4849
return envVars
4950
}

0 commit comments

Comments
 (0)