summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32/makefile.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/win32/makefile.mk b/win32/makefile.mk
index 65491344ab..77e13633bb 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -493,7 +493,10 @@ LOCDEFS = -DPERLDLL -DPERL_CORE
SUBSYS = console
CXX_FLAG = -xc++
-LIBC = -lmsvcrt
+# Current releases of MinGW 5.1.4 (as of 11-Aug-2009) will fail to link
+# correctly if -lmsvcrt is specified explicitly.
+LIBC =
+#LIBC = -lmsvcrt
# same libs as MSVC
LIBFILES = $(CRYPT_LIB) $(LIBC) \