summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-03 20:41:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-03 20:41:03 (GMT)
commitcc8bd0f2037f1b9e700caf373dfb1659ba80e4b7 (patch)
tree3fc83fc1705c8777df7edc1eb281fede2c962029 /win/makefile.vc
parent5871b801b3da2d89d15ea3d66bcb3b216f7584fe (diff)
parentc09ca7b7b75b5cd4ce31f726e74fcfdbf011b255 (diff)
downloadtcl-cc8bd0f2037f1b9e700caf373dfb1659ba80e4b7.zip
tcl-cc8bd0f2037f1b9e700caf373dfb1659ba80e4b7.tar.gz
tcl-cc8bd0f2037f1b9e700caf373dfb1659ba80e4b7.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 cddb253..b76a939 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -622,7 +622,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) $**