From: Ryan Pavlik <[email protected]>

ws2_32 is the correct name for the libary (even on 64 bit Windows :-))

Reviewed-by: Jon TURNEY <[email protected]>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4cb01f0..7c056fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1866,7 +1866,7 @@ if test "x$XWIN" = xyes; then
                        XWIN_SERVER_NAME=Xming
                        AC_DEFINE(RELOCATE_PROJECTROOT,1,[Make PROJECT_ROOT 
relative to the xserver location])
                        AC_DEFINE(HAS_WINSOCK,1,[Use Windows sockets])
-                       XWIN_SYS_LIBS=-lwinsock2
+                       XWIN_SYS_LIBS=-lws2_32
                        ;;
        esac
        XWIN_LIBS="$FB_LIB $MI_LIB $FIXES_LIB $XEXT_LIB $RANDR_LIB $RENDER_LIB 
$DBE_LIB $RECORD_LIB $GLX_LIBS $XKB_LIB $XKB_STUB_LIB $COMPOSITE_LIB 
$DAMAGE_LIB $MIEXT_SYNC_LIB $MIEXT_DAMAGE_LIB $MIEXT_SHADOW_LIB $XI_LIB $OS_LIB"
-- 
1.7.9

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to