From: Daniel Stenberg Date: Wed, 1 Jun 2005 21:30:29 +0000 (+0000) Subject: specify the cares lib before the other libs, to make it build fine with mingw X-Git-Tag: curl-7_14_1~146 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f75038634f1bc8aa6e7818ace0428d5aa3cc32d4;p=thirdparty%2Fcurl.git specify the cares lib before the other libs, to make it build fine with mingw - inspired by Tupone Alfredo's bug report (and patch) #1212940 --- diff --git a/configure.ac b/configure.ac index b42b32d4a0..2673c483d8 100644 --- a/configure.ac +++ b/configure.ac @@ -1650,7 +1650,7 @@ AC_HELP_STRING([--disable-ares],[Disable ares for name lookups]), AC_SUBST(HAVE_ARES) curl_ares_msg="enabled" - LIBS="$LIBS -lcares" + LIBS="-lcares $LIBS" dnl For backwards compatibility default to includes/lib in srcdir/ares dnl If a value is specified it is assumed that the libs are in $val/lib