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

@@ -103,6 +103,12 @@ if MIMPURE
MIMPURE = -mimpure-text
endif
if USE_EMBEDDED_ARES
EMBEDDEDARES = ../ares/libcares.la
else
EMBEDDEDARES =
endif
libcurl_la_LDFLAGS = $(UNDEF) $(VERSIONINFO) $(MIMPURE) $(LIBCURL_LIBS)
# Makefile.inc provides the CSOURCES and HHEADERS defines
@@ -110,6 +116,8 @@ include Makefile.inc
libcurl_la_SOURCES = $(CSOURCES) $(HHEADERS)
libcurl_la_LIBADD = $(EMBEDDEDARES)
WIN32SOURCES = $(CSOURCES)
WIN32HEADERS = $(HHEADERS) config-win32.h