summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-20 14:13:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-08-20 14:13:25 (GMT)
commitd23dffd82557233e4d531e3f4e0ddad7ee716c6f (patch)
tree3a270ae850bf88dd4689b6d3d4df5b4c93152619 /win/rules.vc
parentfbbba0f8a02e82e81c36cd0cfe76373bfba6e51d (diff)
downloadtk-d23dffd82557233e4d531e3f4e0ddad7ee716c6f.zip
tk-d23dffd82557233e4d531e3f4e0ddad7ee716c6f.tar.gz
tk-d23dffd82557233e4d531e3f4e0ddad7ee716c6f.tar.bz2
Fix [http://core.tcl.tk/tcl/info/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 a43fac6..93c450b 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.