Skip to content

Commit 66a34c5

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: #68785
1 parent 0c4efe4 commit 66a34c5

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
@@ -83,7 +83,8 @@ toolchains::Darwin::constructInvocation(const InterpretJobAction &job,
8383
":", options::OPT_L, context.Args,
8484
runtimeLibraryPaths);
8585
addPathEnvironmentVariableIfNeeded(II.ExtraEnvironment, "DYLD_FRAMEWORK_PATH",
86-
":", options::OPT_F, context.Args);
86+
":", options::OPT_F, context.Args,
87+
"/System/Library/Frameworks");
8788
// FIXME: Add options::OPT_Fsystem paths to DYLD_FRAMEWORK_PATH as well.
8889
return II;
8990
}

0 commit comments

Comments
 (0)