mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Install stdlib into /usr/lib/swift/<OS name>/.
Swift SVN r11411
This commit is contained in:
@@ -85,8 +85,8 @@ static llvm::error_code findModule(ASTContext &ctx, AccessPathElem moduleID,
|
||||
}
|
||||
}
|
||||
|
||||
// Finally, check the runtime include path.
|
||||
inputFilename = ctx.SearchPathOpts.RuntimeIncludePath;
|
||||
// Search the runtime import path.
|
||||
inputFilename = ctx.SearchPathOpts.RuntimeImportPath;
|
||||
llvm::sys::path::append(inputFilename, moduleFilename.str());
|
||||
err = llvm::MemoryBuffer::getFile(inputFilename.str(), bufferRef);
|
||||
if (!err) {
|
||||
|
||||
Reference in New Issue
Block a user