Seems like libwww patching wasn't enough yet ;)
The attached patch makes libwww respect LDFLAGS, so that people can actually get what they want (also if that might break if they don't pay attention, but their fault ;) ).
Created attachment 82609 [details, diff]
Fixed in CVS.
bad diego, no cookie
that should be at least:
-LDFLAGS = ...
+AM_LDFLAGS = ...
although more ideal would be to stick the version info flags into just LDFLAGS for the specific library that would be using it ...