summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Starreveld <ystarrev@uwo.ca>2002-04-11 20:58:43 (GMT)
committerYves Starreveld <ystarrev@uwo.ca>2002-04-11 20:58:43 (GMT)
commitcdc65cfebfc0a2f5b0ecbc0a61d3f14c4989955a (patch)
tree5d85d338f23a5aed489f8eb209a56f194f72cae2
parent45f459459cb0d7c711f4a51674aa72c22da39600 (diff)
downloadCMake-cdc65cfebfc0a2f5b0ecbc0a61d3f14c4989955a.zip
CMake-cdc65cfebfc0a2f5b0ecbc0a61d3f14c4989955a.tar.gz
CMake-cdc65cfebfc0a2f5b0ecbc0a61d3f14c4989955a.tar.bz2
Allow modules to build properly again. (broken when Cxx testing was added)
-rw-r--r--Source/cmUnixMakefileGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx
index 7e77b5b..d126605 100644
--- a/Source/cmUnixMakefileGenerator.cxx
+++ b/Source/cmUnixMakefileGenerator.cxx
@@ -670,8 +670,8 @@ void cmUnixMakefileGenerator::OutputModuleLibraryRule(std::ostream& fout,
std::string command2;
if(t.HasCxx())
{
- command2 = "$(CMAKE_CXX_LINK_SHARED) $(CMAKE_CXX_SHLIB_LINK_FLAGS) "
- "$(CMAKE_CXX_SHLIB_BUILD_FLAGS) $(CMAKE_CXX_FLAGS) -o \\\n";
+ command2 = "$(CMAKE_CXX_LINK_SHARED) $(CMAKE_CXX_MODULE_LINK_FLAGS) "
+ "$(CMAKE_CXX_MODULE_BUILD_FLAGS) $(CMAKE_CXX_FLAGS) -o \\\n";
}
else
{