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

This reinstates r11411 with fixes for the autoconf+make build.


Swift SVN r11494
This commit is contained in:
Greg Parker
2013-12-20 01:01:35 +00:00
parent 4b48c8915c
commit 0e360cb26e
10 changed files with 93 additions and 56 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) {