Delegate c-ares linking magic on libtool and auto-makefiles when using

the uninstalled c-ares libtool archive built from the CVS embedded tree.
This commit is contained in:
Yang Tse
2009-05-30 15:56:42 +00:00
parent 2091fe530f
commit cd5e6743f7
4 changed files with 33 additions and 12 deletions

View File

@@ -45,8 +45,14 @@ bin_PROGRAMS = curl
include Makefile.inc
curl_LDADD = ../lib/libcurl.la @CURL_LIBS@
curl_DEPENDENCIES = ../lib/libcurl.la
if USE_EMBEDDED_ARES
EMBEDDEDARES = ../ares/libcares.la
else
EMBEDDEDARES =
endif
curl_LDADD = ../lib/libcurl.la $(EMBEDDEDARES) @CURL_LIBS@
curl_DEPENDENCIES = ../lib/libcurl.la $(EMBEDDEDARES)
BUILT_SOURCES = hugehelp.c
CLEANFILES = hugehelp.c
# Use the C locale to ensure that only ASCII characters appear in the