mirror of
https://github.com/curl/curl.git
synced 2026-07-24 15:57:18 +03:00
added a dependency for libcares if build with ares support;
other minor makefile tweaks.
This commit is contained in:
parent
7b5d148b1f
commit
46c92c0b80
2 changed files with 22 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue