Please see the attached patch that fixes cygwin build by adding mswsock lib.

Please review and if you like it, approve the patch.

Thanks.

Kornél





Index: mono/configure.in
===================================================================
--- mono/configure.in   (revision 145149)
+++ mono/configure.in   (working copy)
@@ -1610,6 +1610,7 @@
        AC_DEFINE(HAVE_GETPROCESSID, 1, [Define if GetProcessId is available])
 else
        jdk_headers_found=no
+       AC_CHECK_LIB(mswsock, main, LIBS="$LIBS -lmswsock", AC_ERROR(bad mingw 
install?))
        AC_CHECK_LIB(ws2_32, main, LIBS="$LIBS -lws2_32", AC_ERROR(bad mingw 
install?))
        AC_CHECK_LIB(psapi, main, LIBS="$LIBS -lpsapi", AC_ERROR(bad mingw 
install?))
        AC_CHECK_LIB(ole32, main, LIBS="$LIBS -lole32", AC_ERROR(bad mingw 
install?))
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to