diff options
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 55249f2..2433414 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1286,6 +1286,12 @@ void cmLocalGenerator::OutputLinkLibraries(std::ostream& fout, orderLibs.AddLinkExtension(ext.c_str()); } ext = + m_Makefile->GetSafeDefinition("CMAKE_STATIC_LIBRARY_PREFIX"); + if(ext.size()) + { + orderLibs.SetLinkPrefix(ext.c_str()); + } + ext = m_Makefile->GetSafeDefinition("CMAKE_SHARED_LIBRARY_SUFFIX"); if(ext.size()) { |