summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-12-11 12:33:13 +0100
committerSven Gothel <[email protected]>2019-12-11 12:33:13 +0100
commit79a8fed9fddab5429a3457c3077ee5012b405a51 (patch)
treeb54da232ade244b70d48d05bfdc970836a453004 /src/main/java/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java
parentec14765d6baab247fa37d62845c139adc367af2a (diff)
Expose full linker output filename via TargetInfo; Cleanup AbstractLinker 'String[] getOutputFileNames(..)' -> 'String getOutputFileName(..)'
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.java5
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) {