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 242105 [details]
Created attachment 243223 [details]
applies $(LDFLAGS) to all .so build targets
It seems my original --as-needed patch only fixed a problem when compiling against an --as-needed-built dependency. This patch replaces the current dmraid-1.0.0_rc16-as-needed.patch in files/ , and adds $(LDFLAGS) to all .so build targets.
It looks good to me but please test to confirm.
Fixed version 1.0.0_rc16-r2 committed, should be on your local mirror in a few hours.