From 7c34122af7ed4667748ceae4966bd5b519ac8ad7 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sat, 2 Aug 2003 16:05:33 +0000 Subject: [PATCH] When compiling with MinGW, link with ws2_32. --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 79165e8c..ce678559 100644 --- a/configure.in +++ b/configure.in @@ -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.") -- 2.20.1