aboutsummaryrefslogtreecommitdiff
path: root/lib/Linker/LinkItems.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Linker/LinkItems.cpp')
-rw-r--r--lib/Linker/LinkItems.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Linker/LinkItems.cpp b/lib/Linker/LinkItems.cpp
index ee290d3fb3..d055a4d028 100644
--- a/lib/Linker/LinkItems.cpp
+++ b/lib/Linker/LinkItems.cpp
@@ -50,9 +50,9 @@ LinkOneLibrary(const char*progname, Module* HeadModule,
// If the pathname does not exist, then simply return if we're doing a
// native link and give a warning if we're doing a bytecode link.
if (!Native) {
- std::cerr << progname << ": error: Cannot find library '"
+ std::cerr << progname << ": warning: Cannot find library '"
<< Lib << "'\n";
- return true;
+ return false;
}
}