summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2001-05-12 11:29:23 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2001-05-12 11:29:23 (GMT)
commit4d07ba8b75513c319156d918c4473834271c42ba (patch)
treeb86af513c11e27a2032fcc90b9b6583abce1515a
parent23df737b6f2ab2045bee50a6a3ce7fa0401d7b3c (diff)
downloadCMake-4d07ba8b75513c319156d918c4473834271c42ba.zip
CMake-4d07ba8b75513c319156d918c4473834271c42ba.tar.gz
CMake-4d07ba8b75513c319156d918c4473834271c42ba.tar.bz2
fix + => += bug reported by A. Perera
-rw-r--r--Source/cmSystemTools.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 6c92894..33c46a5 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -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());