Use relative path to built c-ares tree libtool library
authorYang Tse <yangsita@gmail.com>
Tue, 2 Jun 2009 18:29:09 +0000 (18:29 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 2 Jun 2009 18:29:09 +0000 (18:29 +0000)
ares/Makefile.am

index 2e26a34..7c6fe6d 100644 (file)
@@ -107,13 +107,13 @@ libcares_la_HEADERS = ares.h ares_version.h ares_dns.h \
        ares_build.h ares_rules.h
 
 ahost_SOURCES = ahost.c ares_getopt.c ares_getopt.h
-ahost_LDADD = $(top_builddir)/$(lib_LTLIBRARIES)
+ahost_LDADD = ./libcares.la
 
 adig_SOURCES = adig.c ares_getopt.c ares_getopt.h
-adig_LDADD = $(top_builddir)/$(lib_LTLIBRARIES)
+adig_LDADD = ./libcares.la
 
 acountry_SOURCES = acountry.c ares_getopt.c ares_getopt.h
-acountry_LDADD = $(top_builddir)/$(lib_LTLIBRARIES)
+acountry_LDADD = ./libcares.la
 
 SOURCEDMANDIR = man3
 SOURCEDMANPAGES = ares_init.3