Be a little more explanatory in a comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25168 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2006-01-10 03:12:29 +00:00
parent 49dddb273d
commit 3e5e127f29

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?