From bd772e618b30d7e3ee71b2bb12a4d85139cfe15a Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 12 Sep 2013 00:08:03 +0200 Subject: Make OSX/Darwin work (linker options etc) This patch was private to JogAmp's gluegen project, now exposed. --- .../java/net/sf/antcontrib/cpptasks/gcc/TestAbstractLdLinker.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/test/java') diff --git a/src/test/java/net/sf/antcontrib/cpptasks/gcc/TestAbstractLdLinker.java b/src/test/java/net/sf/antcontrib/cpptasks/gcc/TestAbstractLdLinker.java index 63996c5..52f14f6 100644 --- a/src/test/java/net/sf/antcontrib/cpptasks/gcc/TestAbstractLdLinker.java +++ b/src/test/java/net/sf/antcontrib/cpptasks/gcc/TestAbstractLdLinker.java @@ -73,9 +73,8 @@ public class TestAbstractLdLinker extends TestCase { pluginOutType.setValue("shared"); pluginType.setOutputType(pluginOutType); linker.addImpliedArgs(false, pluginType, args); - assertEquals(2, args.size()); - assertEquals("-prebind", args.elementAt(0)); - assertEquals("-dynamiclib", args.elementAt(1)); + assertEquals(1, args.size()); + assertEquals("-dynamiclib", args.elementAt(0)); } /** * Checks for proper arguments for plugin generation on Darwin -- cgit v1.2.3