This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
805b101
)
Don't explicitly link against msvcrt when using MinGW.
author
Jan Dubois
<jand@activestate.com>
Tue, 11 Aug 2009 23:56:48 +0000
(16:56 -0700)
committer
Jan Dubois
<jand@activestate.com>
Wed, 12 Aug 2009 00:13:32 +0000
(17:13 -0700)
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.
win32/makefile.mk
patch
|
blob
|
blame
|
history
diff --git
a/win32/makefile.mk
b/win32/makefile.mk
index
6549134
..
77e1363
100644
(file)
--- 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) \