From cb426550609405a61b8f4bc0aafd2996378e11c3 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 12 Nov 2002 14:48:38 -0500 Subject: [PATCH] BUG: change to new variables --- Source/cmLocalUnixMakefileGenerator.cxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index b46304aee..215e7bfcf 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/Source/cmLocalUnixMakefileGenerator.cxx @@ -1877,15 +1877,17 @@ void cmLocalUnixMakefileGenerator::OutputInstallRules(std::ostream& fout) fout << " $(DESTDIR)" << prefix << l->second.GetInstallPath() << "\n"; break; case cmTarget::SHARED_LIBRARY: - fout << "\t$(INSTALL_DATA) " << m_LibraryOutputPath << "lib" + fout << "\t$(INSTALL_DATA) " << m_LibraryOutputPath + << this->GetSafeDefinition("CMAKE_SHARED_LIBRARY_PREFIX") << l->first; - fout << m_Makefile->GetDefinition("CMAKE_SHLIB_SUFFIX"); + fout << this->GetSafeDefinition("CMAKE_SHARED_LIBRARY_SUFFIX"); fout << " $(DESTDIR)" << prefix << l->second.GetInstallPath() << "\n"; break; case cmTarget::MODULE_LIBRARY: - fout << "\t$(INSTALL_DATA) " << m_LibraryOutputPath << "lib" + fout << "\t$(INSTALL_DATA) " << m_LibraryOutputPath + << this->GetSafeDefinition("CMAKE_SHARED_MODULE_PREFIX") << l->first; - fout << m_Makefile->GetDefinition("CMAKE_MODULE_SUFFIX"); + fout << this->GetSafeDefinition("CMAKE_SHARED_MODULE_SUFFIX"); fout << " $(DESTDIR)" << prefix << l->second.GetInstallPath() << "\n"; break; case cmTarget::WIN32_EXECUTABLE: