Skip to content

Commit 57fdf68

Browse files
committed
Add missing "/System/Library/Frameworks" path to DYLD_FRAMEWORK_PATH.
This line was accidentally dropped from 06384be, which also contained a related fix to libImmediate (see that commit for details). Resolves: swiftlang#68785
1 parent 372f98c commit 57fdf68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Driver/DarwinToolChains.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ toolchains::Darwin::constructInvocation(const InterpretJobAction &job,
8484
":", options::OPT_L, context.Args,
8585
runtimeLibraryPaths);
8686
addPathEnvironmentVariableIfNeeded(II.ExtraEnvironment, "DYLD_FRAMEWORK_PATH",
87-
":", options::OPT_F, context.Args);
87+
":", options::OPT_F, context.Args,
88+
{"/System/Library/Frameworks"});
8889
// FIXME: Add options::OPT_Fsystem paths to DYLD_FRAMEWORK_PATH as well.
8990
return II;
9091
}

0 commit comments

Comments
 (0)