diff options
Diffstat (limited to 'src/main/java/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java')
-rw-r--r-- | src/main/java/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java b/src/main/java/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java index 24aa0d4..d7b30cd 100644 --- a/src/main/java/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java +++ b/src/main/java/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java @@ -236,8 +236,9 @@ public abstract class CommandLineLinker extends AbstractLinker } protected abstract int getMaximumCommandLength(); - public String[] getOutputFileNames(final String baseName, final VersionInfo versionInfo) { - return new String[] { baseName + outputSuffix }; + @Override + public String getOutputFileName(final String baseName, final VersionInfo versionInfo) { + return baseName + outputSuffix; } protected String[] getOutputFileSwitch(final CCTask task, final String outputFile) { |