Allow modules to build properly again. (broken when Cxx testing was added)

This commit is contained in:
Yves Starreveld 2002-04-11 16:58:43 -04:00
parent 45f459459c
commit cdc65cfebf
1 changed files with 2 additions and 2 deletions

View File

@ -670,8 +670,8 @@ void cmUnixMakefileGenerator::OutputModuleLibraryRule(std::ostream& fout,
std::string command2; std::string command2;
if(t.HasCxx()) if(t.HasCxx())
{ {
command2 = "$(CMAKE_CXX_LINK_SHARED) $(CMAKE_CXX_SHLIB_LINK_FLAGS) " command2 = "$(CMAKE_CXX_LINK_SHARED) $(CMAKE_CXX_MODULE_LINK_FLAGS) "
"$(CMAKE_CXX_SHLIB_BUILD_FLAGS) $(CMAKE_CXX_FLAGS) -o \\\n"; "$(CMAKE_CXX_MODULE_BUILD_FLAGS) $(CMAKE_CXX_FLAGS) -o \\\n";
} }
else else
{ {