From d1f66133a27f08aaceb44b1ac5ce2a2ba7ed8502 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 20 Dec 2001 15:45:37 -0500 Subject: [PATCH] ENH: use better command for creating static library --- Source/cmBorlandMakefileGenerator.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/cmBorlandMakefileGenerator.cxx b/Source/cmBorlandMakefileGenerator.cxx index 382fbcf509..d82ea61298 100644 --- a/Source/cmBorlandMakefileGenerator.cxx +++ b/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";