summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-06-17 04:46:07 +0200
committerSven Gothel <[email protected]>2019-06-17 04:46:07 +0200
commit18e04a2fb9c2a3556040091213f82fc570bc5736 (patch)
treed447ce73c0229012378f68a95b084a843d7aaa3a /src/main
parent757192655df20cc6a68affe8cbb4d7de387c9c67 (diff)
Fix OSX regression of 'usehighleveltool' work: Revert LdLinker command '-dynamic' -> '-dynamiclib'
Introduced in commit 6523322893a0f18cef7b45e693249e147721990e
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java2
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() ) {