BUG: shared libraries should not depend on other shared libraries, they get relinked too often.

This commit is contained in:
Bill Hoffman 2001-06-22 14:53:51 -04:00
parent 8da64c7c44
commit 65a2a9f72c

View File

@ -501,7 +501,7 @@ void cmUnixMakefileGenerator::OutputTargets(std::ostream& fout)
fout << std::endl;
fout << m_LibraryOutputPath << "lib" << l->first << "$(SHLIB_SUFFIX): ${" <<
l->first << "_SRC_OBJS} ${CMAKE_DEPEND_LIBS}\n";
l->first << "_SRC_OBJS} \n";
fout << "\trm -f lib" << l->first << "$(SHLIB_SUFFIX)\n";
fout << "\t$(CMAKE_CXX_COMPILER) ${CMAKE_SHLIB_LINK_FLAGS} "
"${CMAKE_SHLIB_BUILD_FLAGS} ${CMAKE_CXX_FLAGS} -o \\\n";