Turn this error back into a warning, fixing the povray regression
authorChris Lattner <sabre@nondot.org>
Wed, 8 Dec 2004 20:01:10 +0000 (20:01 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 8 Dec 2004 20:01:10 +0000 (20:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18655 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Linker/LinkItems.cpp

index ee290d3fb3967f11f91f58e031275c8ea4734312..d055a4d0285f53ccfa8a6337af0032ce59517f84 100644 (file)
@@ -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;
     }
   }