BUG: library extension goes after library name, not before
This commit is contained in:
parent
a1ec2852af
commit
c437247141
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue