mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 21:45:16 +00:00
Fix off-by-one error in processing of libraries named on command line.
llvm-svn: 9351
This commit is contained in:
parent
040d3e003a
commit
bbeaf0ce11
@ -427,7 +427,7 @@ bool LinkLibraries(const char *progname,
|
||||
// String in which to receive error messages.
|
||||
std::string ErrorMessage;
|
||||
|
||||
for (unsigned i = 1; i < Libraries.size(); ++i) {
|
||||
for (unsigned i = 0; i < Libraries.size(); ++i) {
|
||||
// Determine where this library lives.
|
||||
std::string Pathname = FindLib(Libraries[i], LibPaths);
|
||||
if (Pathname.empty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user