summaryrefslogtreecommitdiffstats
path: root/src/net/sf/antcontrib/cpptasks/openwatcom
diff options
context:
space:
mode:
authorslip_stream <[email protected]>2007-02-13 00:16:16 +0000
committerslip_stream <[email protected]>2007-02-13 00:16:16 +0000
commitde51c28eaf47d9e541835332b2c4d9f2f6f7666a (patch)
tree15972608d75e53c4a32dfc3f24620223945e2154 /src/net/sf/antcontrib/cpptasks/openwatcom
parentd3131a4a8e0b8e8a28e3fbb79a20915050c5ec9f (diff)
Made changes to support a prefix for output libraries. Previously lib would be prepended to dynamic libraries by default. This is still the default behavior but now it can be overridded by specifying outputFilePrefix="<some value>" in the cc task.addPrefixParameter@78
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/cpptasks@78 32d7a393-a5a9-423c-abd3-5d954feb1f2f
Diffstat (limited to 'src/net/sf/antcontrib/cpptasks/openwatcom')
-rw-r--r--src/net/sf/antcontrib/cpptasks/openwatcom/OpenWatcomLibrarian.java2
-rw-r--r--src/net/sf/antcontrib/cpptasks/openwatcom/OpenWatcomLinker.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/sf/antcontrib/cpptasks/openwatcom/OpenWatcomLibrarian.java b/src/net/sf/antcontrib/cpptasks/openwatcom/OpenWatcomLibrarian.java
index 848c395..d0e09fd 100644
--- a/src/net/sf/antcontrib/cpptasks/openwatcom/OpenWatcomLibrarian.java
+++ b/src/net/sf/antcontrib/cpptasks/openwatcom/OpenWatcomLibrarian.java
@@ -51,7 +51,7 @@ public final class OpenWatcomLibrarian
*/
private OpenWatcomLibrarian() {
super("wlib", null, new String[] {".obj"}
- , new String[0], ".lib", false,
+ , new String[0], "", ".lib", false,
null);
}
diff --git a/src/net/sf/antcontrib/cpptasks/openwatcom/OpenWatcomLinker.java b/src/net/sf/antcontrib/cpptasks/openwatcom/OpenWatcomLinker.java
index f0bbe3d..6daaebb 100644
--- a/src/net/sf/antcontrib/cpptasks/openwatcom/OpenWatcomLinker.java
+++ b/src/net/sf/antcontrib/cpptasks/openwatcom/OpenWatcomLinker.java
@@ -44,7 +44,7 @@ public abstract class OpenWatcomLinker
final String outputSuffix) {
super(command, "-r", new String[] {".obj", ".lib", ".res"}
,
- new String[] {".map", ".pdb", ".lnk"}
+ new String[] {".map", ".pdb", ".lnk"}, ""
, outputSuffix, false, null);
}