http://bugs.winehq.org/show_bug.cgi?id=6158
------- Additional Comments From docbill+bugzilla@freeshell.org 2006-06-09 21:20 ------- Created an attachment (id=3552) --> (http://bugs.winehq.org/attachment.cgi?id=3552&action=view) proposed patch to fix the problem
This is the patch I used to fix the problem. winegcc.c has the usage of -lwine hardcoded, which is why it had to be patched as well. My patch is probably not sufficient for all platforms, as I assume a .so extension. I do not know if wine is build on platforms with use different extensions for libwine. However, I expect this patch is sufficient for wine developers to see the problem and understand how to fix it.
Bill