From de51c28eaf47d9e541835332b2c4d9f2f6f7666a Mon Sep 17 00:00:00 2001 From: slip_stream Date: Tue, 13 Feb 2007 00:16:16 +0000 Subject: 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="" in the cc task. git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/cpptasks@78 32d7a393-a5a9-423c-abd3-5d954feb1f2f --- src/net/sf/antcontrib/cpptasks/os390/OS390Linker.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/net/sf/antcontrib/cpptasks/os390') diff --git a/src/net/sf/antcontrib/cpptasks/os390/OS390Linker.java b/src/net/sf/antcontrib/cpptasks/os390/OS390Linker.java index 9c4f845..5c66acf 100644 --- a/src/net/sf/antcontrib/cpptasks/os390/OS390Linker.java +++ b/src/net/sf/antcontrib/cpptasks/os390/OS390Linker.java @@ -48,18 +48,15 @@ public final class OS390Linker extends CommandLineLinker { } private boolean isADatasetLinker; File outputFile; - private String outputPrefix; CCTask task; private OS390Linker() { super("cxx", "/bogus", new String[]{".o", ".a", ".lib", ".xds"}, - new String[]{".dll", ".x"}, ".xds", false, null); - this.outputPrefix = ""; + new String[]{".dll", ".x"}, "", ".xds", false, null); this.isADatasetLinker = true; } private OS390Linker(String outputPrefix, String outputSuffix) { super("cxx", "/bogus", new String[]{".o", ".a", ".lib", ".x"}, - new String[]{".dll"}, outputSuffix, false, null); - this.outputPrefix = outputPrefix; + new String[]{".dll"}, outputPrefix, outputSuffix, false, null); this.isADatasetLinker = false; } protected void addBase(long base, Vector args) { -- cgit v1.2.3