Sfoglia il codice sorgente

Fix space pb (embended, then escaped)

Sebastien Barre 24 anni fa
parent
commit
e8dade9420
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      Source/cmNMakeMakefileGenerator.cxx

+ 2 - 1
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;