summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Donszelmann <Mark.Donszelmann@gmail.com>2007-07-25 17:03:58 +0000
committerMark Donszelmann <Mark.Donszelmann@gmail.com>2007-07-25 17:03:58 +0000
commitc71037861f4d63eb37406256f2ae16297a0ffe0c (patch)
tree8af597c4cd3d61796e77d7efc9bf0bf253e98154 /src
parent31b6bd20925883e58f6bdb04bf42cdc6a5788f67 (diff)
downloadcpptasks-parallel-c71037861f4d63eb37406256f2ae16297a0ffe0c.tar.gz
cpptasks-parallel-c71037861f4d63eb37406256f2ae16297a0ffe0c.tar.bz2
cpptasks-parallel-c71037861f4d63eb37406256f2ae16297a0ffe0c.tar.xz
cpptasks-parallel-c71037861f4d63eb37406256f2ae16297a0ffe0c.zip
Fixed NARPLUGIN-121
Diffstat (limited to 'src')
-rw-r--r--src/net/sf/antcontrib/cpptasks/sun/ForteCCLinker.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/sf/antcontrib/cpptasks/sun/ForteCCLinker.java b/src/net/sf/antcontrib/cpptasks/sun/ForteCCLinker.java
index 47d2155..91ec3d1 100644
--- a/src/net/sf/antcontrib/cpptasks/sun/ForteCCLinker.java
+++ b/src/net/sf/antcontrib/cpptasks/sun/ForteCCLinker.java
@@ -51,7 +51,8 @@ public final class ForteCCLinker extends AbstractLdLinker {
args.addElement("-g");
}
if (linkType.isStaticRuntime()) {
- args.addElement("-static");
+// FREEHEP changed -static
+ args.addElement("-staticlib=%all");
}
if (linkType.isSharedLibrary()) {
args.addElement("-G");