Fix generation of C only modules
This commit is contained in:
parent
2a21a66b13
commit
32fcc2464f
|
@ -687,7 +687,7 @@ void cmLocalUnixMakefileGenerator::OutputModuleLibraryRule(std::ostream& fout,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
command2 = "$(CMAKE_C_LINK_SHARED) $(CMAKE_SHLIB_LINK_FLAGS) "
|
command2 = "$(CMAKE_C_LINK_SHARED) $(CMAKE_SHLIB_LINK_FLAGS) "
|
||||||
"$(CMAKE_SHLIB_BUILD_FLAGS) -o \\\n";
|
"$(CMAKE_MODULE_BUILD_FLAGS) -o \\\n";
|
||||||
}
|
}
|
||||||
command2 += "\t ";
|
command2 += "\t ";
|
||||||
std::string libName = m_LibraryOutputPath + "lib" + std::string(name) + "$(MODULE_SUFFIX)";
|
std::string libName = m_LibraryOutputPath + "lib" + std::string(name) + "$(MODULE_SUFFIX)";
|
||||||
|
|
Loading…
Reference in New Issue