From c71037861f4d63eb37406256f2ae16297a0ffe0c Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Wed, 25 Jul 2007 17:03:58 +0000 Subject: Fixed NARPLUGIN-121 --- src/net/sf/antcontrib/cpptasks/sun/ForteCCLinker.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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"); -- cgit v1.2.3