Install stdlib into /usr/lib/swift/<OS name>/.

Swift SVN r11411
This commit is contained in:
Greg Parker
2013-12-18 02:19:29 +00:00
parent 93975af8f6
commit 9032632299
9 changed files with 87 additions and 54 deletions

View File

@@ -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) {