summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-19 16:27:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-19 16:27:30 (GMT)
commit6f8c6e12dd51bef4fe42e9e26ab32d2629493244 (patch)
treeba52bdd72eb59a9d787cbf298ba16ccbde87b332 /win
parentbaa813085d114cb2e254365ad7e820c7b433467a (diff)
downloadtcl-6f8c6e12dd51bef4fe42e9e26ab32d2629493244.zip
tcl-6f8c6e12dd51bef4fe42e9e26ab32d2629493244.tar.gz
tcl-6f8c6e12dd51bef4fe42e9e26ab32d2629493244.tar.bz2
Complete TIP #595 for rules.vc
Diffstat (limited to 'win')
-rw-r--r--win/rules.vc8
1 files changed, 7 insertions, 1 deletions
diff --git a/win/rules.vc b/win/rules.vc
index 85c37f2..a5690ef 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -1260,7 +1260,13 @@ tklibs = "$(TKSTUBLIB)" "$(TKIMPLIB)"
# Various output paths
PRJIMPLIB = $(OUT_DIR)\$(PROJECT)$(VERSION)$(SUFX).lib
-PRJLIBNAME = $(PROJECT)$(VERSION)$(SUFX).$(EXT)
+PRJLIBNAME8 = $(PROJECT)$(VERSION)$(SUFX).$(EXT)
+PRJLIBNAME9 = tcl9$(PROJECT)$(VERSION)$(SUFX).$(EXT)
+!if $(TCL_MAJOR_VERSION) == 8
+PRJLIBNAME = $(PRJLIBNAME8)
+!else
+PRJLIBNAME = $(PRJLIBNAME9)
+!endif
PRJLIB = $(OUT_DIR)\$(PRJLIBNAME)
PRJSTUBLIBNAME = $(STUBPREFIX)$(VERSION).lib