aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.m326
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Makefile.m32 b/src/Makefile.m32
index ced5c7003..655bda4d9 100644
--- a/src/Makefile.m32
+++ b/src/Makefile.m32
@@ -19,6 +19,8 @@ ifndef ZLIB_PATH
ZLIB_PATH = ../../zlib-1.2.3
endif
+ARES_LIB = ../ares
+
CC = gcc
CFLAGS = -g -O2
LDFLAGS =
@@ -47,6 +49,10 @@ else
curl_LDADD = -L../lib -lcurl
COMPILE += -DCURL_STATICLIB
endif
+ifdef ARES
+ CFLAGS += -DUSE_ARES
+ curl_LDADD += -L$(ARES_LIB) -lcares
+endif
ifdef SSH2
CFLAGS += -DUSE_LIBSSH2 -DHAVE_LIBSSH2_H
curl_LDADD += -L$(LIBSSH2_PATH)/win32 -lssh2