BUG: library extension goes after library name, not before

This commit is contained in:
Amitha Perera 2001-07-08 17:54:46 -04:00
parent a1ec2852af
commit c437247141
1 changed files with 2 additions and 2 deletions

View File

@ -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())
{