Tk Source Code

View Ticket
Login
Ticket UUID: 2099926
Title: Failed build with OPTS=static,staticpkg
Type: Patch Version: None
Submitter: decosterjos Created on: 2008-09-08 10:40:05
Subsystem: 85. Win Build Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2021-01-27 11:30:18
Resolution: Out of Date Closed By: jan.nijtmans
    Closed on: 2021-01-27 11:30:18
Description:
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.
User Comments: jan.nijtmans added on 2017-12-10 20:27:25:
Does this still fail, after "vc-reform" was merged?