See attached build log.
(Please do not complain about the need for looking at the build log until you can provide an easy way to open bugs with the correct data picked out of a tinderbox log. Thanks.)
Created attachment 242001 [details]
+ 09 Aug 2010; Kacper Kowalik <firstname.lastname@example.org>
+ Respect LDFLAGS wrt bug 331787. Thanks to Diego for report.