From e8dade9420571737421bc127fed40541c3412ea3 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Thu, 29 Nov 2001 14:51:35 -0500 Subject: Fix space pb (embended, then escaped) --- Source/cmNMakeMakefileGenerator.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v0.12