|
@@ -799,7 +799,7 @@ std::string cmSystemTools::FindLibrary(const char* name,
|
|
|
return cmSystemTools::CollapseFullPath(tryPath.c_str());
|
|
return cmSystemTools::CollapseFullPath(tryPath.c_str());
|
|
|
}
|
|
}
|
|
|
tryPath = *p;
|
|
tryPath = *p;
|
|
|
- tryPath = "/lib";
|
|
|
|
|
|
|
+ tryPath += "/lib";
|
|
|
tryPath += name;
|
|
tryPath += name;
|
|
|
tryPath += ".a";
|
|
tryPath += ".a";
|
|
|
if(cmSystemTools::FileExists(tryPath.c_str()))
|
|
if(cmSystemTools::FileExists(tryPath.c_str()))
|
|
@@ -807,7 +807,7 @@ std::string cmSystemTools::FindLibrary(const char* name,
|
|
|
return cmSystemTools::CollapseFullPath(tryPath.c_str());
|
|
return cmSystemTools::CollapseFullPath(tryPath.c_str());
|
|
|
}
|
|
}
|
|
|
tryPath = *p;
|
|
tryPath = *p;
|
|
|
- tryPath = "/lib";
|
|
|
|
|
|
|
+ tryPath += "/lib";
|
|
|
tryPath += name;
|
|
tryPath += name;
|
|
|
tryPath += ".sl";
|
|
tryPath += ".sl";
|
|
|
if(cmSystemTools::FileExists(tryPath.c_str()))
|
|
if(cmSystemTools::FileExists(tryPath.c_str()))
|