Skip to content

Commit

Permalink
Add missing "/System/Library/Frameworks" path to DYLD_FRAMEWORK_PATH.
Browse files Browse the repository at this point in the history
This line was accidentally dropped from 06384be, which also
contained a related fix to libImmediate (see that commit for details).

Resolves: apple#68785
  • Loading branch information
lhames committed Jan 24, 2024
1 parent 0c4efe4 commit 8eb9475
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Driver/DarwinToolChains.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8eb9475

Please sign in to comment.