mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Don't look in the standard import locations when building the core standard library.
This is a better way to fix the Darwin overlay <-> swift_stdlib_core inferred circular dependency <rdar://problem/16603168>. Swift SVN r16476
This commit is contained in:
@@ -592,6 +592,10 @@ static bool ParseSearchPathArgs(SearchPathOptions &Opts, ArgList &Args,
|
||||
Opts.RuntimeResourcePath = A->getValue();
|
||||
}
|
||||
|
||||
if (Args.getLastArg(OPT_nostdimport)) {
|
||||
Opts.SkipRuntimeLibraryImportPath = true;
|
||||
}
|
||||
|
||||
// Opts.RuntimeIncludePath is set by calls to
|
||||
// setRuntimeIncludePath() or setMainExecutablePath().
|
||||
// Opts.RuntimeImportPath is set by calls to
|
||||
|
||||
Reference in New Issue
Block a user