After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 91696 - -lwsock32 is unnecessary on Cygwin
-lwsock32 is unnecessary on Cygwin
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: win32
2.0.x
Other Windows
: Normal trivial
: ---
Assigned To: Tor Lillqvist
Tor Lillqvist
Depends on:
Blocks:
 
 
Reported: 2002-08-26 11:29 UTC by Masahiro Sakai
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Masahiro Sakai 2002-08-26 11:29:31 UTC
-lwsock32 isn't necessary on Cygwin.
Because Cygwin doesn't use giowin32.c but giounix.c

--- glib-2.0.6/configure.in~	2002-07-27 06:31:52.000000000 +0900
+++ glib-2.0.6/configure.in	2002-08-26 19:06:34.000000000 +0900
@@ -1623,7 +1623,7 @@
 
 case $host in
   *-*-cygwin*)
-
G_LIBS_EXTRA="-luser32 -lwsock32 -lkernel32"
+
G_LIBS_EXTRA="-luser32 -lkernel32"
     ;;
   *-*-mingw*)
 	G_LIBS_EXTRA="-lwsock32"
Comment 1 Tor Lillqvist 2002-08-26 19:41:37 UTC
Patch committed to HEAD and glib-2-0.