summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitha Perera <perera@cs.rpi.edu>2001-07-08 21:54:46 (GMT)
committerAmitha Perera <perera@cs.rpi.edu>2001-07-08 21:54:46 (GMT)
commitc437247141decd50957115f9ba0caf488406400a (patch)
tree5d0e0e98140811061e075727a111095c83334489
parenta1ec2852af9508016fae37e425de70265a949cb7 (diff)
downloadCMake-c437247141decd50957115f9ba0caf488406400a.zip
CMake-c437247141decd50957115f9ba0caf488406400a.tar.gz
CMake-c437247141decd50957115f9ba0caf488406400a.tar.bz2
BUG: library extension goes after library name, not before
-rw-r--r--Source/cmUnixMakefileGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 802c128..1e35a41 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -617,11 +617,11 @@ void cmUnixMakefileGenerator::OutputDependencies(std::ostream& fout)
= cmCacheManager::GetInstance()->GetCacheValue(ltname.c_str());
if(libType && std::string(libType) == "SHARED")
{
- libpath += m_Makefile->GetDefinition("CMAKE_SHLIB_SUFFIX");
+ library += m_Makefile->GetDefinition("CMAKE_SHLIB_SUFFIX");
}
else
{
- libpath += ".a";
+ library += ".a";
}
if(m_LibraryOutputPath.size())
{