summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authordavygrvy <davygrvy>2003-11-16 06:07:00 (GMT)
committerdavygrvy <davygrvy>2003-11-16 06:07:00 (GMT)
commit1274ea88155ced21612a96a62a4ed9d31d6f1274 (patch)
tree2fcf4612758b0625f77b9bce308f2b41add5f353 /win
parent9c4b699070cef63a8f5d56755a330322fa2cc6c9 (diff)
downloadtk-1274ea88155ced21612a96a62a4ed9d31d6f1274.zip
tk-1274ea88155ced21612a96a62a4ed9d31d6f1274.tar.gz
tk-1274ea88155ced21612a96a62a4ed9d31d6f1274.tar.bz2
Fixes pkgIndex.tcl generation so a symbols build is loaded when Tcl is symbols
Diffstat (limited to 'win')
-rw-r--r--win/makefile.vc10
1 files changed, 7 insertions, 3 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 7928fc6..565d55d 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -12,7 +12,7 @@
# Copyright (c) 2001-2002 David Gravereaux.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: makefile.vc,v 1.74 2003/10/14 15:35:52 patthoyts Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.75 2003/11/16 06:07:00 davygrvy Exp $
#------------------------------------------------------------------------------
!if "$(MSVCDIR)" == ""
@@ -533,8 +533,12 @@ install-binaries:
!if !$(STATIC_BUILD)
@echo Creating package index "$(SCRIPT_INSTALL_DIR)\pkgIndex.tcl"
-del "$(SCRIPT_INSTALL_DIR)\pkgIndex.tcl"
- echo if {[package vcompare [package provide Tcl] $(TCL_DOTVERSION)] != 0} { return } > "$(OUT_DIR)\pkgIndex.tcl"
- echo package ifneeded Tk $(DOTVERSION) [list load [file join $$dir .. .. bin $(TKLIBNAME)] Tk] >>"$(OUT_DIR)\pkgIndex.tcl"
+ echo if {[package vcompare [package provide Tcl] $(TCL_DOTVERSION)] != 0} { return }> "$(OUT_DIR)\pkgIndex.tcl"
+ echo if {[info exists ::tcl_platform(debug)]} {>> "$(OUT_DIR)\pkgIndex.tcl"
+ echo package ifneeded Tk $(DOTVERSION) [list load [file join $$dir .. .. bin tk$(VERSION)g.dll] Tk]>> "$(OUT_DIR)\pkgIndex.tcl"
+ echo } else {>> "$(OUT_DIR)\pkgIndex.tcl"
+ echo package ifneeded Tk $(DOTVERSION) [list load [file join $$dir .. .. bin tk$(VERSION).dll] Tk]>> "$(OUT_DIR)\pkgIndex.tcl"
+ echo }>> "$(OUT_DIR)\pkgIndex.tcl"
$(CPY) "$(OUT_DIR)\pkgIndex.tcl" "$(SCRIPT_INSTALL_DIR)\"
!endif