forked from OSchip/llvm-project
parent
149130ad6b
commit
e58f7408d0
|
@ -119,9 +119,6 @@ static inline sys::Path IsLibrary(const std::string& Name,
|
|||
|
||||
sys::Path FullPath(Directory);
|
||||
|
||||
// Make sure the directory actually is a directory in the file system.
|
||||
if (FullPath.isDirectory())
|
||||
{
|
||||
// Try the libX.a form
|
||||
FullPath.appendComponent("lib" + Name);
|
||||
FullPath.appendSuffix("a");
|
||||
|
@ -143,7 +140,6 @@ static inline sys::Path IsLibrary(const std::string& Name,
|
|||
return FullPath;
|
||||
|
||||
// Not found .. fall through
|
||||
}
|
||||
|
||||
// Indicate that the library was not found in the directory.
|
||||
FullPath.clear();
|
||||
|
|
Loading…
Reference in New Issue