summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/cmUnixMakefileGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 802c128a4d..1e35a41727 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())
{