aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Linker/LinkItems.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Linker/LinkItems.cpp b/lib/Linker/LinkItems.cpp
index 4d61395..7c888aa 100644
--- a/lib/Linker/LinkItems.cpp
+++ b/lib/Linker/LinkItems.cpp
@@ -74,7 +74,7 @@ bool Linker::LinkInLibrary(const std::string& Lib, bool& is_native) {
// Determine where this library lives.
sys::Path Pathname = FindLib(Lib);
if (Pathname.isEmpty())
- return warning("Cannot find library '" + Lib + "'");
+ return error("Cannot find library '" + Lib + "'");
// If its an archive, try to link it in
std::string Magic;