summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-09 09:29:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-09 09:29:59 (GMT)
commit4cac2bd3c4263102da89d22992df435f7ff410a6 (patch)
treea7262ffe5cae986b8687137b5e75a10868b18ec7 /win/rules.vc
parent97c35ad5876e4dc39dacca443da95464e2049e3d (diff)
downloadtk-4cac2bd3c4263102da89d22992df435f7ff410a6.zip
tk-4cac2bd3c4263102da89d22992df435f7ff410a6.tar.gz
tk-4cac2bd3c4263102da89d22992df435f7ff410a6.tar.bz2
sync rules.vc with Tcl
Diffstat (limited to 'win/rules.vc')
-rw-r--r--win/rules.vc11
1 files changed, 9 insertions, 2 deletions
diff --git a/win/rules.vc b/win/rules.vc
index 2ec5292..85c37f2 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -1203,9 +1203,16 @@ TCLSH_NATIVE = $(TCLSH)
!if $(DOING_TK) || $(NEED_TK)
WISHNAMEPREFIX = wish
WISHNAME = $(WISHNAMEPREFIX)$(TK_VERSION)$(SUFX).exe
-TKLIBNAME = $(PROJECT)$(TK_VERSION)$(SUFX).$(EXT)
-TKSTUBLIBNAME = tkstub$(TK_VERSION).lib
+TKLIBNAME8 = tk$(TK_VERSION)$(SUFX).$(EXT)
+TKLIBNAME9 = tcl9tk$(TK_VERSION)$(SUFX).$(EXT)
+!if $(TCL_MAJOR_VERSION) == 8
+TKLIBNAME = tk$(TK_VERSION)$(SUFX).$(EXT)
TKIMPLIBNAME = tk$(TK_VERSION)$(SUFX).lib
+!else
+TKLIBNAME = tcl9tk$(TK_VERSION)$(SUFX).$(EXT)
+TKIMPLIBNAME = tcl9tk$(TK_VERSION)$(SUFX).lib
+!endif
+TKSTUBLIBNAME = tkstub$(TK_VERSION).lib
!if $(DOING_TK)
WISH = $(OUT_DIR)\$(WISHNAME)