fix + => += bug reported by A. Perera

This commit is contained in:
Sebastien Barre 2001-05-12 07:29:23 -04:00
parent 23df737b6f
commit 4d07ba8b75
1 changed files with 3 additions and 3 deletions

View File

@ -793,7 +793,7 @@ std::string cmSystemTools::FindLibrary(const char* name,
tryPath = *p;
tryPath += "/lib";
tryPath += name;
tryPath + ".so";
tryPath += ".so";
if(cmSystemTools::FileExists(tryPath.c_str()))
{
return cmSystemTools::CollapseFullPath(tryPath.c_str());
@ -801,7 +801,7 @@ std::string cmSystemTools::FindLibrary(const char* name,
tryPath = *p;
tryPath = "/lib";
tryPath += name;
tryPath + ".a";
tryPath += ".a";
if(cmSystemTools::FileExists(tryPath.c_str()))
{
return cmSystemTools::CollapseFullPath(tryPath.c_str());
@ -809,7 +809,7 @@ std::string cmSystemTools::FindLibrary(const char* name,
tryPath = *p;
tryPath = "/lib";
tryPath += name;
tryPath + ".sl";
tryPath += ".sl";
if(cmSystemTools::FileExists(tryPath.c_str()))
{
return cmSystemTools::CollapseFullPath(tryPath.c_str());