aboutsummaryrefslogtreecommitdiff
path: root/winbuild
diff options
context:
space:
mode:
Diffstat (limited to 'winbuild')
-rw-r--r--winbuild/MakefileBuild.vc3
1 files changed, 3 insertions, 0 deletions
diff --git a/winbuild/MakefileBuild.vc b/winbuild/MakefileBuild.vc
index 6f34257c5..4e39be66f 100644
--- a/winbuild/MakefileBuild.vc
+++ b/winbuild/MakefileBuild.vc
@@ -222,6 +222,9 @@ CARES = static
!IFDEF USE_CARES
CARES_CFLAGS = /DUSE_ARES /I"$(CARES_INC_DIR)"
+!IF "$(CARES)"=="static"
+CARES_CFLAGS = $(CARES_CFLAGS) /DCARES_STATICLIB
+!ENDIF
!ENDIF