File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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:/=\)
5651NMAKEHLP_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.
You can’t perform that action at this time.
0 commit comments