From: Guus Sliepen Date: Sat, 2 Aug 2003 16:05:33 +0000 (+0000) Subject: When compiling with MinGW, link with ws2_32. X-Git-Tag: import-tinc-1.1~785^2~117 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=7c34122af7ed4667748ceae4966bd5b519ac8ad7;p=meshlink When compiling with MinGW, link with ws2_32. --- 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.")