--- src/tools/Makefile.in.orig	2009-08-15 13:19:24 UTC
+++ src/tools/Makefile.in
@@ -143,7 +143,7 @@ AM_CFLAGS = @CFLAGS@
 
 bin_PROGRAMS = adtool
 
-adtool_LDADD = @top_srcdir@/src/lib/libactive_directory.a -lldap -llber -lldap_r -lpthread -lresolv 
+adtool_LDADD = @top_srcdir@/src/lib/libactive_directory.a -lldap -llber -lldap -lpthread
 subdir = src/tools
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
