diff options
author | Jan Dubois <jand@activestate.com> | 2009-08-11 16:56:48 -0700 |
---|---|---|
committer | Jan Dubois <jand@activestate.com> | 2009-08-11 17:13:32 -0700 |
commit | 679b67fee662acf52b2b1af175101ee323ae7d60 (patch) | |
tree | 7437e11cc3b8d94b86fdd1d95e4a157464fc96c5 /win32 | |
parent | 805b10112885d8868f21f8e860792d65e1e6c19d (diff) | |
download | perl-679b67fee662acf52b2b1af175101ee323ae7d60.tar.gz |
Don't explicitly link against msvcrt when using MinGW.
The latest releases of MinGW generate hard linker errors
when msvcrt is specified explicitly. It will still link
against this library implicitly anyways, so specifying it
isn't needed.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/makefile.mk | 5 |
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) \ |