From 96ffe645fd2494f14780f7c105fcfeeb8ca7d94f Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Thu, 11 Apr 2013 14:05:08 +0200 Subject: Enabled MinGW sync resolver builds. --- lib/Makefile.m32 | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'lib/Makefile.m32') diff --git a/lib/Makefile.m32 b/lib/Makefile.m32 index bb01bbad3..3df923a72 100644 --- a/lib/Makefile.m32 +++ b/lib/Makefile.m32 @@ -106,6 +106,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 @@ -151,11 +154,15 @@ endif INCLUDES = -I. -I../include CFLAGS += -DBUILDING_LIBCURL -ifdef ARES - INCLUDES += -I"$(LIBCARES_PATH)" - CFLAGS += -DUSE_ARES -DCARES_STATICLIB - DLL_LIBS += -L"$(LIBCARES_PATH)" -lcares - libcurl_dll_DEPENDENCIES = $(LIBCARES_PATH)/libcares.a +ifdef SYNC + CFLAGS += -DUSE_SYNC_DNS +else + ifdef ARES + INCLUDES += -I"$(LIBCARES_PATH)" + CFLAGS += -DUSE_ARES -DCARES_STATICLIB + DLL_LIBS += -L"$(LIBCARES_PATH)" -lcares + libcurl_dll_DEPENDENCIES = $(LIBCARES_PATH)/libcares.a + endif endif ifdef RTMP INCLUDES += -I"$(LIBRTMP_PATH)" -- cgit v1.2.3