From fdab75d4ad2914911f526b54010d5e93f6829090 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Sun, 7 Jun 2009 11:04:40 +0200
Subject: Link against MSVCRTD if configured with debug.


diff --git a/autoconf/cccl b/autoconf/cccl
index 14c35a7..86eda96 100755
--- a/autoconf/cccl
+++ b/autoconf/cccl
@@ -89,7 +89,7 @@ EOF
 
 	-g[0-9] | -g)
 		# cl only supports one debugging level
-		clopt="$clopt ${slash}Zi"
+		clopt="$clopt ${slash}Zi ${slash}MDd"
 		;;
 
 	-L*)
-- 
cgit v0.10.2-6-g49f6