summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-04 15:59:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-01-04 15:59:10 (GMT)
commitac0122ded4c94048193893bbc2439304bd03338c (patch)
tree984d80cbfa4680c2e0b65657c97f5f0056006337 /win
parent854ac6eb29369fe6d459420224f87e134b02b4d7 (diff)
downloadtk-ac0122ded4c94048193893bbc2439304bd03338c.zip
tk-ac0122ded4c94048193893bbc2439304bd03338c.tar.gz
tk-ac0122ded4c94048193893bbc2439304bd03338c.tar.bz2
Fix [1ca3c8d9da]: nmake build with OPTS=static
Diffstat (limited to 'win')
-rw-r--r--win/rules.vc2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rules.vc b/win/rules.vc
index fc816ac..1b0693f 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -1588,7 +1588,7 @@ DLLCMD = $(link32) $(dlllflags) -out:$@ $(baselibs) $(tcllibs) $(tklibs)
CONEXECMD = $(link32) $(conlflags) -out:$@ $(baselibs) $(tcllibs) $(tklibs)
GUIEXECMD = $(link32) $(guilflags) -out:$@ $(baselibs) $(tcllibs) $(tklibs)
RESCMD = $(rc32) -fo $@ -r -i "$(GENERICDIR)" -i "$(TMP_DIR)" \
- $(TCL_INCLUDES) \
+ $(TCL_INCLUDES) /DSTATIC_BUILD=$(STATIC_BUILD) \
/DDEBUG=$(DEBUG) -d UNCHECKED=$(UNCHECKED) \
/DCOMMAVERSION=$(RCCOMMAVERSION) \
/DDOTVERSION=\"$(DOTVERSION)\" \