From a11b1b82505e4afceb86a3c8ec712fb1e76c31fd Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 26 Apr 2015 23:45:21 +0100 Subject: Cause cares to be built statically on mingw32 --- sdk/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sdk') diff --git a/sdk/Makefile b/sdk/Makefile index cdfc23b..aad3e7e 100644 --- a/sdk/Makefile +++ b/sdk/Makefile @@ -122,8 +122,9 @@ endif ifeq ($(TARGET),i686-w64-mingw32) SDK_ITEMS := $(addprefix $(BUILDSTEPS)/, libiconv.d libgnurx.d $(COMMON_SDK_ITEMS)) + EXTRAARGS_LIBCARES := --disable-shared EXTRAARGS_LIBCURL := --enable-nonblocking --enable-ares --disable-ldap --without-random - LIBCURL_ENV := LIBS="-lgdi32" + LIBCURL_ENV := CFLAGS="-DCARES_STATICLIB" LIBS="-lgdi32" endif ifeq ($(TARGET),m68k-unknown-amigaos) -- cgit v1.2.3