BUG: Generated link line for shared libraries had CMAKE_CXX_FLAGS instead of CMAKE_CXXFLAGS (note underscore).

This commit is contained in:
Brad King 2001-08-02 14:42:21 -04:00
parent ee12492c0a
commit 4aa1a3422b
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ void cmUnixMakefileGenerator::OutputTargets(std::ostream& fout)
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";
"${CMAKE_SHLIB_BUILD_FLAGS} ${CMAKE_CXXFLAGS} -o \\\n";
fout << "\t " << m_LibraryOutputPath << "lib" << l->first << "$(SHLIB_SUFFIX) \\\n";
fout << "\t ${" << l->first <<
"_SRC_OBJS} ";