[PATCH 4/4] configure.ac: on MinGW, link with ws2_32 instead of winsock2
Jon TURNEY
jon.turney at dronecode.org.uk
Wed Apr 25 05:11:34 PDT 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 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
More information about the xorg-devel
mailing list