This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/16814] [mingw32] libgcj dpends on both winsock32dll and ws2_32.dll
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jul 2004 02:19:02 -0000
- Subject: [Bug libgcj/16814] [mingw32] libgcj dpends on both winsock32dll and ws2_32.dll
- References: <20040729014510.16814.dannysmith@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dannysmith at users dot sourceforge dot net 2004-07-29 02:19 -------
The patch is trivial. Just remove -lwsock32 from SYSTEMSPEC in configure.in.
To be extra safe, also force the choice of winsock2.h by explicitly including
it before including windows.h in win32.h (just in case someone is using an old
or modified windows.h that has a different default)
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16814