[tor-commits] [torsocks/osx] Fix -lresolv on linux builds again

hoganrobert at torproject.org hoganrobert at torproject.org
Sun Oct 23 18:27:16 UTC 2011


commit cc8e7e0ae59def5da94b576ed19e9412e517ad7b
Author: Robert Hogan <robert at roberthogan.net>
Date:   Fri Feb 18 22:11:40 2011 +0000

    Fix -lresolv on linux builds again
---
 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.in b/configure.in
index cdb99e7..614f34e 100644
--- a/configure.in
+++ b/configure.in
@@ -519,7 +519,7 @@ AC_SUBST(SPECIALLIBS)
 LIBS=${SIMPLELIBS}
 
 AC_SEARCH_LIBS(dlopen, [dl])
-AC_SEARCH_LIBS(inet_aton, [resolv])
+AC_SEARCH_LIBS(res_query, [resolv])
 
 dnl Linker checks for Mac OSX, which uses DYLD_INSERT_LIBRARIES
 dnl instead of LD_PRELOAD





More information about the tor-commits mailing list