Under traditional Unix loaders (ld), the order in which items are specified in the command line matters.  Without this patch, -lm appears before libparrot.a, so at the time libm is encountered, no symbols are needed and nothing is loaded.  Subsequently, upon encountering libparrot.a, a number of math/trig-related symbols end up undefined. (See the Solaris tinderbox logs, for example).  The traditional Unix ld does not backtrack and rescan -lm again.
Under traditional Unix loaders (ld), the order in which items are
specified in the command line matters.  Without this patch, -lm appears
before libparrot.a, so at the time libm is encountered, no symbols are
needed and nothing is loaded.  Subsequently, upon encountering
libparrot.a, a number of math/trig-related symbols end up undefined.
(See the Solaris tinderbox logs, for example).  The traditional Unix ld
does not backtrack and rescan -lm again.

This patch corrects the order of arguments in lib/Parrot/Test.pm so that
programs will at least link correctly.

-- Andy Dougherty


git-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@2292 d31e2699-5ff4-0310-a27c-f18f2fbe73fe

ashgti/parrot,ashgti/parrot,ashgti/parrot,ashgti/parrot,ashgti/parrot,ashgti/parrot,ashgti/parrot