summaryrefslogtreecommitdiff
path: root/sdk
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-04-26 23:45:21 +0100
committerVincent Sanders <vince@kyllikki.org>2015-04-26 23:45:21 +0100
commita11b1b82505e4afceb86a3c8ec712fb1e76c31fd (patch)
treec43d0542b9bf536f6456bcc2e5e6a1e486abf113 /sdk
parenta44257681608df3397ff698985ee7a5ea3e1f7b3 (diff)
downloadtoolchains-a11b1b82505e4afceb86a3c8ec712fb1e76c31fd.tar.gz
toolchains-a11b1b82505e4afceb86a3c8ec712fb1e76c31fd.tar.bz2
Cause cares to be built statically on mingw32
Diffstat (limited to 'sdk')
-rw-r--r--sdk/Makefile3
1 files changed, 2 insertions, 1 deletions
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)