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
This commit is contained in:
Daniel Stenberg 2005-06-01 21:30:29 +00:00
parent 300b4a9158
commit f75038634f
1 changed files with 1 additions and 1 deletions

View File

@ -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