[PATCH 4/9] configure.ac: on MinGW, link with ws2_32 instead of winsock2
Jon TURNEY
jon.turney at dronecode.org.uk
Wed Jan 11 12:13:24 PST 2012
From: Ryan Pavlik <rpavlik at iastate.edu>
ws2_32 is the correct name for the libary (even on 64 bit Windows :-))
Reviewed-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index a074357..1ea6e80 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1841,7 +1841,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.5.1
More information about the xorg-devel
mailing list