Преглед на файлове

ENH: use better command for creating static library

Bill Hoffman преди 24 години
родител
ревизия
d1f66133a2
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      Source/cmBorlandMakefileGenerator.cxx

+ 3 - 1
Source/cmBorlandMakefileGenerator.cxx

@@ -303,12 +303,14 @@ void cmBorlandMakefileGenerator::OutputStaticLibraryRule(std::ostream& fout,
   target = cmSystemTools::EscapeSpaces(target.c_str());
   std::string depend = "$(";
   depend += std::string(name) + "_SRC_OBJS)";
-  std::string command = "tlib  @&&|\n\t /u ";
+  std::string command = "tlib  @&&|\n\t /p256 /a ";
   command += target;
+  command += " ";
   std::string deleteCommand = "if exist ";
   deleteCommand +=  target;
   deleteCommand += " del ";
   deleteCommand += target;
+
   command += " $(";
   command += std::string(name) + "_SRC_OBJS)";
   command += "\n|\n";