aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-06-01 21:30:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-06-01 21:30:29 +0000
commitf75038634f1bc8aa6e7818ace0428d5aa3cc32d4 (patch)
treea601d69859a75feff374eede6d454b10d77eab84
parent300b4a915820293d6ba3a83150cbb585c288a482 (diff)
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
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b42b32d4a..2673c483d 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