summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-19 15:23:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-19 15:23:25 (GMT)
commit74cd974b89d05dd8159d85d730e6aadaa34b3e27 (patch)
tree0f23285bc58a4da5f205563b29da11021ddf33a1 /win/rules.vc
parent2ef36c8edb60b8da26aeb9947f6d2cdd1d4bf6c1 (diff)
downloadtcl-74cd974b89d05dd8159d85d730e6aadaa34b3e27.zip
tcl-74cd974b89d05dd8159d85d730e6aadaa34b3e27.tar.gz
tcl-74cd974b89d05dd8159d85d730e6aadaa34b3e27.tar.bz2
Fix [00189c4afcb9e2586301d711f71383e48817a72d|00189c4afc]: Allow semi-static UCRT build on Windows with VC 14.0
Diffstat (limited to 'win/rules.vc')
-rw-r--r--win/rules.vc7
1 files changed, 7 insertions, 0 deletions
diff --git a/win/rules.vc b/win/rules.vc
index 78a167a..9247c59 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -223,6 +223,7 @@ LOIMPACT = 0
TCL_USE_STATIC_PACKAGES = 0
USE_THREAD_ALLOC = 0
UNCHECKED = 0
+UCRT = 0
!else
!if [nmakehlp -f $(OPTS) "static"]
!message *** Doing static
@@ -302,6 +303,12 @@ UNCHECKED = 1
UNCHECKED = 0
!endif
!endif
+!if [nmakehlp -f $(OPTS) "ucrt"] && $(VCVERSION) >= 1900
+!message *** Doing UCRT
+UCRT = 1
+!else
+UCRT = 0
+!endif
#----------------------------------------------------------
# Figure-out how to name our intermediate and output directories.