added a dependency for libcares if build with ares support;

other minor makefile tweaks.
This commit is contained in:
Gunter Knauf 2007-08-14 18:39:26 +00:00
parent 7b5d148b1f
commit 46c92c0b80
2 changed files with 22 additions and 12 deletions

View file

@ -49,6 +49,9 @@ else
CFLAGS += -DCURL_STATICLIB
endif
ifdef ARES
ifndef DYN
curl_DEPENDENCIES += $(ARES_LIB)/libcares.a
endif
CFLAGS += -DUSE_ARES
curl_LDADD += -L$(ARES_LIB) -lcares
endif