From b99e1a306c7fb8f43dd61e432f3c896f5142e4ac Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Sun, 22 Jun 2014 16:43:15 +0200 Subject: [PATCH] Add support to link against libresolv Mac OS X --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6ed4dd99..5efb412e 100644 --- a/configure.ac +++ b/configure.ac @@ -204,7 +204,7 @@ AC_CHECK_DECLS([freeaddrinfo, gai_strerror, getaddrinfo, getnameinfo], [], [], [#include "src/have.h"] ) -AC_CHECK_DECLS([res_init], [], [], [ +AC_CHECK_DECLS([res_init], [LIBS="$LIBS -lresolv"], [], [ #include #include ]) -- 2.20.1