diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-30 13:09:53 -0500 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-30 13:09:53 -0500 |
commit | cb23279833a53d668751caa51a15eed602b1004d (patch) | |
tree | 756dd7085e498eddcc95af7306d8191cb5525f66 /Source/cmNMakeMakefileGenerator.cxx | |
parent | 47ae31d3074aa912708026cc9295d30bda720028 (diff) | |
download | cmake-cb23279833a53d668751caa51a15eed602b1004d.tar.gz |
fix library suffix
Diffstat (limited to 'Source/cmNMakeMakefileGenerator.cxx')
-rw-r--r-- | Source/cmNMakeMakefileGenerator.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmNMakeMakefileGenerator.cxx b/Source/cmNMakeMakefileGenerator.cxx index b392b7500e..26a48c28f5 100644 --- a/Source/cmNMakeMakefileGenerator.cxx +++ b/Source/cmNMakeMakefileGenerator.cxx @@ -521,7 +521,9 @@ void cmNMakeMakefileGenerator::OutputLinkLibraries(std::ostream& fout, if (lib->first.size() == 0) continue; if(emitted.insert(lib->first).second) { - std::string regexp = ".*\\" + m_StaticLibraryExtension + "$"; + std::string regexp = ".*\\"; + regexp += m_Makefile->GetDefinition("CMAKE_STATICLIB_SUFFIX"); + regexp += "$"; cmRegularExpression reg(regexp.c_str()); // if it ends in .lib, then it is a full path and should // be escaped, and does not need .lib added |