summaryrefslogtreecommitdiffstats
path: root/Source/cmBorlandMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-12-20 20:45:37 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-12-20 20:45:37 (GMT)
commitd1f66133a27f08aaceb44b1ac5ce2a2ba7ed8502 (patch)
tree33e7d6d7cb4118c3820fd46823514a4327aed8b8 /Source/cmBorlandMakefileGenerator.cxx
parentd354ac55280fd2ffad3616357c8adc1b0c3d03c4 (diff)
downloadCMake-d1f66133a27f08aaceb44b1ac5ce2a2ba7ed8502.zip
CMake-d1f66133a27f08aaceb44b1ac5ce2a2ba7ed8502.tar.gz
CMake-d1f66133a27f08aaceb44b1ac5ce2a2ba7ed8502.tar.bz2
ENH: use better command for creating static library
Diffstat (limited to 'Source/cmBorlandMakefileGenerator.cxx')
-rw-r--r--Source/cmBorlandMakefileGenerator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmBorlandMakefileGenerator.cxx b/Source/cmBorlandMakefileGenerator.cxx
index 382fbcf..d82ea61 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";