Commit f7503863 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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
parent 300b4a91
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1650,7 +1650,7 @@ AC_HELP_STRING([--disable-ares],[Disable ares for name lookups]),
       AC_SUBST(HAVE_ARES)
       AC_SUBST(HAVE_ARES)
       curl_ares_msg="enabled"
       curl_ares_msg="enabled"


       LIBS="$LIBS -lcares"
       LIBS="-lcares $LIBS"


       dnl For backwards compatibility default to includes/lib in srcdir/ares
       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
       dnl If a value is specified it is assumed that the libs are in $val/lib