When compiling with MinGW, link with ws2_32.
This commit is contained in:
parent
9a491a10ee
commit
7c34122af7
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
dnl $Id: configure.in,v 1.13.2.79 2003/08/02 15:32:57 guus Exp $
|
||||
dnl $Id: configure.in,v 1.13.2.80 2003/08/02 16:05:33 guus Exp $
|
||||
|
||||
AC_PREREQ(2.57)
|
||||
AC_INIT(src/tincd.c)
|
||||
|
@ -70,6 +70,7 @@ case $host_os in
|
|||
*mingw*)
|
||||
AC_DEFINE(HAVE_MINGW, 1, [MinGW])
|
||||
[ rm -f src/device.c; cp -f src/mingw/device.c src/device.c ]
|
||||
LIBS="$LIBS -lws2_32"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR("Unknown operating system.")
|
||||
|
|
Loading…
Reference in a new issue