summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2007-07-07 15:13:04 +0000
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2007-07-07 15:13:04 +0000
commitadd8fbe1f556a1cc8b1299edf9634c8e769fefd2 (patch)
treebebfbd2905dc972f28fe2ebd6c61115a9007e19a /src
parent2dac20493cf190fb56f04d1fe22f58c30eac1869 (diff)
downloadcpptasks-parallel-add8fbe1f556a1cc8b1299edf9634c8e769fefd2.tar.gz
cpptasks-parallel-add8fbe1f556a1cc8b1299edf9634c8e769fefd2.tar.bz2
cpptasks-parallel-add8fbe1f556a1cc8b1299edf9634c8e769fefd2.tar.xz
cpptasks-parallel-add8fbe1f556a1cc8b1299edf9634c8e769fefd2.zip
Removed quoting from -framework
Diffstat (limited to 'src')
-rw-r--r--src/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java2
-rw-r--r--src/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java b/src/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java
index 96d85c0..dcff759 100644
--- a/src/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java
+++ b/src/net/sf/antcontrib/cpptasks/compiler/CommandLineLinker.java
@@ -324,7 +324,7 @@ public abstract class CommandLineLinker extends AbstractLinker
}
for (int i = 0; i < endargs.length; i++) {
allArgs[index++] = decorateLinkerOption(buf, endargs[i]);
- }
+ }
return allArgs;
}
diff --git a/src/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java b/src/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java
index 5b743d3..e6f4b8a 100644
--- a/src/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java
+++ b/src/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java
@@ -142,8 +142,8 @@ public abstract class AbstractLdLinker extends CommandLineLinker {
"framework".equals(set.getType().getValue()) &&
isDarwin()) {
buf.setLength(0);
-// FREEHEP
- endargs.addElement("-framework ");
+// FREEHEP, added as endarg w/o trailing space to avoid quoting!
+ endargs.addElement("-framework");
}
int initialLength = buf.length();
for (int j = 0; j < libs.length; j++) {