summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-03 15:17:43 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-03 15:17:43 (GMT)
commitc09ca7b7b75b5cd4ce31f726e74fcfdbf011b255 (patch)
tree2c968deb625081f8b56053597584392aacc35f8a /win/makefile.vc
parentab9b922b76e5a364b81263128b3231b5bbd85c36 (diff)
downloadtcl-c09ca7b7b75b5cd4ce31f726e74fcfdbf011b255.zip
tcl-c09ca7b7b75b5cd4ce31f726e74fcfdbf011b255.tar.gz
tcl-c09ca7b7b75b5cd4ce31f726e74fcfdbf011b255.tar.bz2
When compiling with MSVC++, no longer link the stub library with msvcrt??.dll.
This way, workarounds in extensions like [http://core.tcl.tk/itcl/info/a961f0729c] are no longer necessary.
Diffstat (limited to 'win/makefile.vc')
-rw-r--r--win/makefile.vc2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 3d17331..d9570b9 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -574,7 +574,7 @@ $**
!endif
$(TCLSTUBLIB): $(TCLSTUBOBJS)
- $(lib32) -nologo $(LINKERFLAGS) -out:$@ $(TCLSTUBOBJS)
+ $(lib32) -nologo $(LINKERFLAGS) -nodefaultlib -out:$@ $(TCLSTUBOBJS)
$(TCLSH): $(TCLSHOBJS) $(TCLSTUBLIB) $(TCLIMPLIB)
$(link32) $(conlflags) -stack:2300000 -out:$@ $(baselibs) $**