This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't explicitly link against msvcrt when using MinGW.
[perl5.git] / win32 / makefile.mk
index 6549134..77e1363 100644 (file)
@@ -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) \