From 18e04a2fb9c2a3556040091213f82fc570bc5736 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 17 Jun 2019 04:46:07 +0200 Subject: Fix OSX regression of 'usehighleveltool' work: Revert LdLinker command '-dynamic' -> '-dynamiclib' Introduced in commit 6523322893a0f18cef7b45e693249e147721990e --- src/main/java/net/sf/antcontrib/cpptasks/gcc/AbstractLdLinker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ) { -- cgit v1.2.3