Menu

#266 Failed build with OPTS=static,staticpkg

open
nobody
None
5
2008-09-08
2008-09-08
No

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.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.