Dimitrie O. Paun wrote:
Richard,
You patch from Nov 28: http://www.winehq.org/hypermail/wine-cvs/2003/11/0299.html says (among other things): "Compiling with -lwine needs to use the given -L paths."
In other words, it adds all the -Lxxx libs to the linking step for the wrapper. I see no reason to do so. At the Windows/DLL level, we only link with kernel32, and we know exactly where it is: in DLLDIR. At the Linux/ELF level, we only link with -lwine, and similarly, we know it resides in LIBDIR.
Those libraries only reside there after Wine has been installed. winegcc needs to be able to build programs/* etc. from inside the tree Anyway, it looks like the wrapper will be going away soon ...
Richard.