From ef6f25ba42792d2d811fd6826c0dd528ad77b1e9 Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Fri, 9 Oct 2009 16:23:45 +0200 Subject: Always use absolute path for linker libraries for windows; Removed debug statements --- src/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java') 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); } /** -- cgit v1.2.3