summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-26 09:03:41 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-26 09:03:41 (GMT)
commit05a224b57c876cd9db9d2478dddf9614b16b0661 (patch)
tree43b8b65e985f371a70dec94f6cffaafc82c03c51 /win/rules.vc
parenta7e24bcc8fe8783f5f4f41f7ed125528c16d185b (diff)
parent5a01c1718d0e4d22ca532721611e0546c5512e33 (diff)
downloadtk-05a224b57c876cd9db9d2478dddf9614b16b0661.zip
tk-05a224b57c876cd9db9d2478dddf9614b16b0661.tar.gz
tk-05a224b57c876cd9db9d2478dddf9614b16b0661.tar.bz2
Permit static linking to the MSVCRT as a stand-alone option. Patch by Joe Mistachkin.
Diffstat (limited to 'win/rules.vc')
-rw-r--r--win/rules.vc5
1 files changed, 5 insertions, 0 deletions
diff --git a/win/rules.vc b/win/rules.vc
index 6fd079a..2cd711b 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -230,6 +230,10 @@ STATIC_BUILD = 1
!else
STATIC_BUILD = 0
!endif
+!if [nmakehlp -f $(OPTS) "nomsvcrt"]
+!message *** Doing nomsvcrt
+MSVCRT = 0
+!else
!if [nmakehlp -f $(OPTS) "msvcrt"]
!message *** Doing msvcrt
MSVCRT = 1
@@ -240,6 +244,7 @@ MSVCRT = 1
MSVCRT = 0
!endif
!endif
+!endif
!if [nmakehlp -f $(OPTS) "staticpkg"] && $(STATIC_BUILD)
!message *** Doing staticpkg
TCL_USE_STATIC_PACKAGES = 1