D-Programming-Language/dmd — pull request #497 by llucax (2011-11-07 12:03:49+00:00)
Title: Add -sL swith to pass linker flags at the end of the linker command

There are some cases where linker flags order do matter (for example for
linking libraries). In those cases DMD provide no mechanism for altering
the order. This patches tries to minimize this problem by adding an
option (-sL) to add flags at the *end* of the linker command line. This
is specially useful to include libraries *after* the standard library
passed with -debuglib or -defaultlib.

Posted in the devel ML: http://permalink.gmane.org/gmane.comp.lang.d.dmd.devel/2530