aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-07-04 13:45:46 +0000
committerGunter Knauf <gk@gknw.de>2007-07-04 13:45:46 +0000
commit9f21f74fbde6bdbdcdca5926cdb9a810bddc2d2a (patch)
treea7f41d0b8e209912ade57e87dc3fb5cf43e93c9c /lib
parent3760180320a27b4a364805d5132143d4d9468749 (diff)
enabled ares build.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.m327
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Makefile.m32 b/lib/Makefile.m32
index 76145917d..d16325456 100644
--- a/lib/Makefile.m32
+++ b/lib/Makefile.m32
@@ -19,6 +19,8 @@ ifndef ZLIB_PATH
ZLIB_PATH = ../../zlib-1.2.3
endif
+ARES_LIB = ../ares
+
CC = gcc
AR = ar
RM = rm -f
@@ -30,6 +32,11 @@ STRIP = strip -g
INCLUDES = -I. -I../include
CFLAGS = -g -O2 -DBUILDING_LIBCURL -DHAVE_LONGLONG
+ifdef ARES
+ INCLUDES += -I$(ARES_LIB)
+ CFLAGS += -DUSE_ARES
+ DLL_LIBS += -L$(ARES_LIB) -lcares
+endif
ifdef SSH2
INCLUDES += -I"$(LIBSSH2_PATH)/include" -I"$(LIBSSH2_PATH)/win32"
CFLAGS += -DUSE_LIBSSH2 -DHAVE_LIBSSH2_H