summaryrefslogtreecommitdiff
path: root/src/Makefile.m32
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2013-04-11 14:05:08 +0200
committerGuenter Knauf <lists@gknw.net>2013-04-11 14:05:08 +0200
commit96ffe645fd2494f14780f7c105fcfeeb8ca7d94f (patch)
tree3de26ca944950c64c0daedb5cbe3f9cbd38df57a /src/Makefile.m32
parentc86ea58304c2d888accfbaff6961bee14b3cc3d9 (diff)
downloadcurl-96ffe645fd2494f14780f7c105fcfeeb8ca7d94f.tar.gz
Enabled MinGW sync resolver builds.
Diffstat (limited to 'src/Makefile.m32')
-rw-r--r--src/Makefile.m3217
1 files changed, 12 insertions, 5 deletions
diff --git a/src/Makefile.m32 b/src/Makefile.m32
index b8a60af2a..3dd7bd6b8 100644
--- a/src/Makefile.m32
+++ b/src/Makefile.m32
@@ -120,6 +120,9 @@ endif
ifeq ($(findstring -ares,$(CFG)),-ares)
ARES = 1
endif
+ifeq ($(findstring -sync,$(CFG)),-sync)
+SYNC = 1
+endif
ifeq ($(findstring -rtmp,$(CFG)),-rtmp)
RTMP = 1
SSL = 1
@@ -173,12 +176,16 @@ else
CFLAGS += -DCURL_STATICLIB
LDFLAGS += -static
endif
-ifdef ARES
- ifndef DYN
- curl_DEPENDENCIES += $(LIBCARES_PATH)/libcares.a
+ifdef SYNC
+ CFLAGS += -DUSE_SYNC_DNS
+else
+ ifdef ARES
+ ifndef DYN
+ curl_DEPENDENCIES += $(LIBCARES_PATH)/libcares.a
+ endif
+ CFLAGS += -DUSE_ARES -DCARES_STATICLIB
+ curl_LDADD += -L"$(LIBCARES_PATH)" -lcares
endif
- CFLAGS += -DUSE_ARES -DCARES_STATICLIB
- curl_LDADD += -L"$(LIBCARES_PATH)" -lcares
endif
ifdef RTMP
CFLAGS += -DUSE_LIBRTMP