Skip to content

Commit ac9b05f

Browse files
committed
Fix NMAKEHLP_NATIVE failures for Tk test-classic runs
1 parent adf4b36 commit ac9b05f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

win/rules-ext.vc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ macro to the name of the project makefile.
3434
!if [$(CC) -nologo -DNDEBUG "nmakehlp.c" -link -subsystem:console > nul]
3535
!endif
3636

37-
# First locate the Tcl directory that we are working with.
38-
!if "$(TCLDIR)" != ""
39-
40-
_RULESDIR = $(TCLDIR:/=\)
41-
4237
# We need a nmakehlp that will run on the host machine as part of the build.
4338
# if TCLSH_NATIVE is set for cross compilation, we'll try to find an associated
4439
# nmakehlp.exe that runs on the build architecture.
@@ -56,6 +51,11 @@ _RULESDIR = $(TCLDIR:/=\)
5651
NMAKEHLP_NATIVE=nmakehlp
5752
!endif
5853

54+
# First locate the Tcl directory that we are working with.
55+
!if "$(TCLDIR)" != ""
56+
57+
_RULESDIR = $(TCLDIR:/=\)
58+
5959
!else
6060

6161
# If an installation path is specified, that is also the Tcl directory.

0 commit comments

Comments
 (0)