ws2_32: fix compiling with mingw

Stefan Leichter Stefan.Leichter at
Tue Apr 29 15:43:48 CDT 2008


cross compiling ws2_32_test.exe from current git fails with:

make: Entering directory `/usr/src/wine/wine-mingw/dlls/ws2_32/tests'
i586-mingw32msvc-gcc protocol.o sock.o    testlist.o  -o 
ws2_32_test.exe -lws2_32 -lkernel32
sock.o: In function 
undefined reference to `_gethostname'
collect2: ld returned 1 exit status
make: *** [ws2_32_test.exe] Fehler 1
make: Leaving directory `/usr/src/wine/wine-mingw/dlls/ws2_32/tests'

This patch fixes the problem for me
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gethostname.diff
Type: text/x-diff
Size: 459 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list