summaryrefslogtreecommitdiffstats
path: root/win/makefile.vc
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-03-12 15:32:23 (GMT)
committernijtmans <nijtmans>2010-03-12 15:32:23 (GMT)
commit82f9f4d9ac6ecb9764104e6e81e9596a0392009f (patch)
tree9013f476d0f39a20eeefedc3c6ee1e783661a2e8 /win/makefile.vc
parent9e9589c93aa74b20f3d626142697dd1687512762 (diff)
downloadtcl-82f9f4d9ac6ecb9764104e6e81e9596a0392009f.zip
tcl-82f9f4d9ac6ecb9764104e6e81e9596a0392009f.tar.gz
tcl-82f9f4d9ac6ecb9764104e6e81e9596a0392009f.tar.bz2
Fix [Bug 2967340]: Static build failure
Diffstat (limited to 'win/makefile.vc')
-rw-r--r--win/makefile.vc18
1 files changed, 5 insertions, 13 deletions
diff --git a/win/makefile.vc b/win/makefile.vc
index 2083aee..f3cb3bc 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -13,7 +13,7 @@
# Copyright (c) 2003-2008 Pat Thoyts.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: makefile.vc,v 1.175.2.3 2008/08/11 21:57:17 dgp Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.175.2.4 2010/03/12 15:32:23 nijtmans Exp $
#------------------------------------------------------------------------------
# Check to see we are configured to build with MSVC (MSDEVDIR or MSVCDIR)
@@ -77,11 +77,11 @@ the build instructions.
#
# static = Builds a static library of the core instead of a
# dll. The shell will be static (and large), as well.
-# msvcrt = Effects the static option only to switch it from
+# msvcrt = Affects the static option only to switch it from
# using libcmt(d) as the C runtime [by default] to
# msvcrt(d). This is useful for static embedding
# support.
-# staticpkg = Effects the static option only to switch
+# staticpkg = Affects the static option only to switch
# tclshXX.exe to have the dde and reg extension linked
# inside it.
# threads = Turns on full multithreading support.
@@ -574,12 +574,8 @@ $(TCLPIPEDLL): $(WINDIR)\stub16.c
$(_VC_MANIFEST_EMBED_DLL)
!if $(STATIC_BUILD)
-!if $(TCL_USE_STATIC_PACKAGES)
-$(TCLDDELIB):
-!else
$(TCLDDELIB): $(TMP_DIR)\tclWinDde.obj
- $(lib32) -nologo -out:$@ $(TMP_DIR)\tclWinDde.obj
-!endif
+ $(lib32) -nologo -out:$@ $**
!else
$(TCLDDELIB): $(TMP_DIR)\tclWinDde.obj $(TCLSTUBLIB)
$(link32) $(dlllflags) -base:@$(WINDIR)\coffbase.txt,tcldde -out:$@ \
@@ -590,12 +586,8 @@ $(TCLDDELIB): $(TMP_DIR)\tclWinDde.obj $(TCLSTUBLIB)
!endif
!if $(STATIC_BUILD)
-!if $(TCL_USE_STATIC_PACKAGES)
-$(TCLREGLIB):
-!else
$(TCLREGLIB): $(TMP_DIR)\tclWinReg.obj
- $(lib32) -nologo -out:$@ $(TMP_DIR)\tclWinReg.obj
-!endif
+ $(lib32) -nologo -out:$@ $**
!else
$(TCLREGLIB): $(TMP_DIR)\tclWinReg.obj $(TCLSTUBLIB)
$(link32) $(dlllflags) -base:@$(WINDIR)\coffbase.txt,tclreg -out:$@ \