diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-04-19 16:41:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-04-19 16:41:18 (GMT) |
commit | a343f35f005c6b08ad2c523b24ab68527019d4fb (patch) | |
tree | e9b3a5da4efd9eff0a12a801c21f070ad71036b8 /win | |
parent | 1620864ea3524ac3bf9cf1a1de9d594908654617 (diff) | |
download | tk-a343f35f005c6b08ad2c523b24ab68527019d4fb.zip tk-a343f35f005c6b08ad2c523b24ab68527019d4fb.tar.gz tk-a343f35f005c6b08ad2c523b24ab68527019d4fb.tar.bz2 |
Sync rules.vc with Tcl
Diffstat (limited to 'win')
-rw-r--r-- | win/rules.vc | 8 |
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
|