Hi,
This patch is related to Tcl patch 1998813.
When building Tk with OPTS=static,staticpkg errors are reported about missing dde libs. These are caused by these lines in the makefile.vc:
WISHOBJS = \
$(TMP_DIR)\winMain.obj \
!if $(TCL_USE_STATIC_PACKAGES)
$(TCLDDELIB) \
$(TCLREGLIB) \
!endif
$(TMP_DIR)\wish.res
Replacing these with:
WISHOBJS = \
$(TMP_DIR)\winMain.obj \
!if $(TCL_USE_STATIC_PACKAGES)
"$(_TCLDIR)\win\$(BUILDDIRTOP)\tcl_Static\tclWinReg.obj" \
"$(_TCLDIR)\win\$(BUILDDIRTOP)\tcl_Static\tclWinDde.obj" \
!endif
$(TMP_DIR)\wish.res
solves the problem.
Kind regards,
Jos.