File aria2-cares-static.patch of Package aria2

--- m4/libcares.m4.orig	2006-12-07 23:04:23.000000000 +0100
+++ m4/libcares.m4	2006-12-07 23:04:27.000000000 +0100
@@ -21,7 +21,7 @@
 AC_CHECK_LIB([cares], [ares_init], [have_libcares=yes])
 if test "x$have_libcares" = "xyes"; then
     AC_DEFINE([HAVE_LIBCARES], [1], [Define to 1 if you have libcares.])
-    LIBCARES_LIBS="-L$libcares_prefix_lib -lcares"
+    LIBCARES_LIBS="$libcares_prefix_lib/libcares.a"
     LIBCARES_CPPFLAGS="-I$libcares_prefix_include"
     AC_SUBST(LIBCARES_LIBS)
     AC_SUBST(LIBCARES_CPPFLAGS)
openSUSE Build Service is sponsored by