Browse Source

BUG: library extension goes after library name, not before

Amitha Perera 24 năm trước cách đây
mục cha
commit
c437247141
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Source/cmUnixMakefileGenerator.cxx

+ 2 - 2
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())
         {