mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add missing "/System/Library/Frameworks" path to DYLD_FRAMEWORK_PATH.
This line was accidentally dropped from 06384be243, which also
contained a related fix to libImmediate (see that commit for details).
Resolves: https://github.com/apple/swift/issues/68785
This commit is contained in:
@@ -83,7 +83,8 @@ toolchains::Darwin::constructInvocation(const InterpretJobAction &job,
|
||||
":", options::OPT_L, context.Args,
|
||||
runtimeLibraryPaths);
|
||||
addPathEnvironmentVariableIfNeeded(II.ExtraEnvironment, "DYLD_FRAMEWORK_PATH",
|
||||
":", options::OPT_F, context.Args);
|
||||
":", options::OPT_F, context.Args,
|
||||
{"/System/Library/Frameworks"});
|
||||
// FIXME: Add options::OPT_Fsystem paths to DYLD_FRAMEWORK_PATH as well.
|
||||
return II;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user