Be a little more explanatory in a comment.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 10 Jan 2006 03:12:29 +0000 (03:12 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 10 Jan 2006 03:12:29 +0000 (03:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25168 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Linker/Linker.cpp

index 9ffe7a121e066e6e7fad5cb9dcd6a4ca7b421bc8..0afc2ee752d63dcc4edc90d03f349e83565ef46d 100644 (file)
@@ -134,7 +134,7 @@ static inline sys::Path IsLibrary(const std::string& Name,
     if (FullPath.isArchive())
       return FullPath;
 
-    // Try the libX.so form
+    // Try the libX.so (or .dylib) form
     FullPath.eraseSuffix();
     FullPath.appendSuffix(&(LTDL_SHLIB_EXT[1]));
     if (FullPath.isDynamicLibrary())  // Native shared library?