BUG: Generated link line for shared libraries had CMAKE_CXX_FLAGS instead of CMAKE_CXXFLAGS (note underscore).
This commit is contained in:
parent
ee12492c0a
commit
4aa1a3422b
|
@ -516,7 +516,7 @@ void cmUnixMakefileGenerator::OutputTargets(std::ostream& fout)
|
||||||
l->first << "_SRC_OBJS} \n";
|
l->first << "_SRC_OBJS} \n";
|
||||||
fout << "\trm -f lib" << l->first << "$(SHLIB_SUFFIX)\n";
|
fout << "\trm -f lib" << l->first << "$(SHLIB_SUFFIX)\n";
|
||||||
fout << "\t$(CMAKE_CXX_COMPILER) ${CMAKE_SHLIB_LINK_FLAGS} "
|
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 " << m_LibraryOutputPath << "lib" << l->first << "$(SHLIB_SUFFIX) \\\n";
|
||||||
fout << "\t ${" << l->first <<
|
fout << "\t ${" << l->first <<
|
||||||
"_SRC_OBJS} ";
|
"_SRC_OBJS} ";
|
||||||
|
|
Loading…
Reference in New Issue