diff options
-rw-r--r-- | src/main/java/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java b/src/main/java/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java index 9b17bbb..2db05f5 100644 --- a/src/main/java/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java +++ b/src/main/java/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java @@ -68,7 +68,7 @@ public abstract class AbstractLdLinker extends CommandLineLinker { args.addElement("-bundle"); } else if (linkType.isSharedLibrary()) { // args.addElement("-prebind"); // Only required for OSX 10.3 and earlier, no auto-add (can add manually though) - args.addElement("-dynamic"); + args.addElement("-dynamiclib"); } } else { if (linkType.isStaticRuntime() ) { |