Fixed ares-enabled builds with static makefiles.

This commit is contained in:
Guenter Knauf 2013-04-09 17:44:51 +02:00
parent 88535d593e
commit 658ec97055
3 changed files with 7 additions and 3 deletions

View file

@ -177,7 +177,7 @@ ifdef ARES
ifndef DYN
curl_DEPENDENCIES += $(LIBCARES_PATH)/libcares.a
endif
CFLAGS += -DUSE_ARES
CFLAGS += -DUSE_ARES -DCARES_STATICLIB
curl_LDADD += -L"$(LIBCARES_PATH)" -lcares
endif
ifdef RTMP