summaryrefslogtreecommitdiff
path: root/src/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java')
-rw-r--r--src/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java b/src/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java
index dcff759..aeed2bb 100644
--- a/src/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java
+++ b/src/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java
@@ -337,7 +337,9 @@ public abstract class CommandLineLinker extends AbstractLinker
String relativePath = CUtil.getRelativePath(outputDir,
new File(sourceFile));
// FREEHEP, return the shortest
- return quoteFilename(buf, sourceFile.length() > relativePath.length() ? relativePath : sourceFile);
+// return quoteFilename(buf, sourceFile.length() > relativePath.length() ? relativePath : sourceFile);
+// FREEHEP trying with always absolute paths...
+ return quoteFilename(buf, sourceFile);
}
/**