summaryrefslogtreecommitdiffstats
path: root/Source/cmNMakeMakefileGenerator.cxx
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2001-11-29 19:51:35 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2001-11-29 19:51:35 (GMT)
commite8dade9420571737421bc127fed40541c3412ea3 (patch)
tree2ef372f296adc92180c7295f01b7e406fb46d3a7 /Source/cmNMakeMakefileGenerator.cxx
parent765934fea96ccc9125bba090ad50a1569a595c77 (diff)
downloadCMake-e8dade9420571737421bc127fed40541c3412ea3.zip
CMake-e8dade9420571737421bc127fed40541c3412ea3.tar.gz
CMake-e8dade9420571737421bc127fed40541c3412ea3.tar.bz2
Fix space pb (embended, then escaped)
Diffstat (limited to 'Source/cmNMakeMakefileGenerator.cxx')
-rw-r--r--Source/cmNMakeMakefileGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmNMakeMakefileGenerator.cxx b/Source/cmNMakeMakefileGenerator.cxx
index bab4406..ce48eaa 100644
--- a/Source/cmNMakeMakefileGenerator.cxx
+++ b/Source/cmNMakeMakefileGenerator.cxx
@@ -374,8 +374,9 @@ void cmNMakeMakefileGenerator::OutputSharedLibraryRule(std::ostream& fout,
depend += "_SRC_OBJS) $(" + std::string(name) + "_DEPEND_LIBS)";
std::string command = "link /dll @<<\n";
command += "$(" + std::string(name) + "_SRC_OBJS) /out:";
- std::string dllpath = m_LibraryOutputPath + std::string(name) + ".dll ";
+ std::string dllpath = m_LibraryOutputPath + std::string(name) + ".dll";
command += cmSystemTools::EscapeSpaces(dllpath.c_str());
+ command += " ";
std::strstream linklibs;
this->OutputLinkLibraries(linklibs, name, t);
linklibs << std::ends;