diff options
author | Sven Gothel <[email protected]> | 2013-09-12 00:08:03 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-09-12 00:08:03 +0200 |
commit | bd772e618b30d7e3ee71b2bb12a4d85139cfe15a (patch) | |
tree | f1b9651af9aa0c0b5d791d4e2b0e5ba3dd2af0b0 /src/test/java | |
parent | 15254861eca42c5d0cdd008eb0c89ee4d953d48d (diff) |
Make OSX/Darwin work (linker options etc)
This patch was private to JogAmp's gluegen project, now exposed.
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/net/sf/antcontrib/cpptasks/gcc/TestAbstractLdLinker.java | 5 |
1 files changed, 2 insertions, 3 deletions
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 |