Be a little more explanatory in a comment.

llvm-svn: 25168
This commit is contained in:
Reid Spencer 2006-01-10 03:12:29 +00:00
parent 7ed9b8b287
commit e7b44b171a

View 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?