From 8097c0a0d98a01663000cd6856e57586c367b4a2 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Tue, 10 Jan 2006 03:12:29 +0000 Subject: Be a little more explanatory in a comment. llvm-svn: 25168 --- llvm/lib/Linker/Linker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Linker/Linker.cpp') diff --git a/llvm/lib/Linker/Linker.cpp b/llvm/lib/Linker/Linker.cpp index 9ffe7a121e0..0afc2ee752d 100644 --- a/llvm/lib/Linker/Linker.cpp +++ b/llvm/lib/Linker/Linker.cpp @@ -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? -- cgit v1.2.3