diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-23 19:54:25 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-23 19:54:25 (GMT) |
commit | 32fcc2464f6db10814fb078f32e567e99dd03370 (patch) | |
tree | 0086269cc3bb9737cde4486c77995857a4aae826 /Source | |
parent | 2a21a66b131bec18a8bd38d85e1e87228e6509c3 (diff) | |
download | CMake-32fcc2464f6db10814fb078f32e567e99dd03370.zip CMake-32fcc2464f6db10814fb078f32e567e99dd03370.tar.gz CMake-32fcc2464f6db10814fb078f32e567e99dd03370.tar.bz2 |
Fix generation of C only modules
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index 1013821..0a9f313 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/Source/cmLocalUnixMakefileGenerator.cxx @@ -687,7 +687,7 @@ void cmLocalUnixMakefileGenerator::OutputModuleLibraryRule(std::ostream& fout, else { command2 = "$(CMAKE_C_LINK_SHARED) $(CMAKE_SHLIB_LINK_FLAGS) " - "$(CMAKE_SHLIB_BUILD_FLAGS) -o \\\n"; + "$(CMAKE_MODULE_BUILD_FLAGS) -o \\\n"; } command2 += "\t "; std::string libName = m_LibraryOutputPath + "lib" + std::string(name) + "$(MODULE_SUFFIX)"; |