summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-13 10:38:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-01-13 10:38:56 (GMT)
commit370b55738907dd034b5937b161a3981a0d3aed02 (patch)
tree6ed498d01af758d4e05e815c950d6262e62277b6 /win
parent473d9adddc85ee618e4200806f85af14a3b304c0 (diff)
downloadtcl-370b55738907dd034b5937b161a3981a0d3aed02.zip
tcl-370b55738907dd034b5937b161a3981a0d3aed02.tar.gz
tcl-370b55738907dd034b5937b161a3981a0d3aed02.tar.bz2
Fix [b89209f5cd]: compilation error Windows 10 / Visual Studio 2019
Diffstat (limited to 'win')
-rwxr-xr-xwin/configure2
-rw-r--r--win/configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/win/configure b/win/configure
index 76f4a67..7ad19d8 100755
--- a/win/configure
+++ b/win/configure
@@ -4718,7 +4718,7 @@ eval "TCL_SRC_DIR=\"`cd $srcdir/..; $CYGPATH $(pwd)`\""
eval "TCL_DLL_FILE=tcl${VER}${DLLSUFFIX}"
-if test ${SHARED_BUILD} = 0 ; then
+if test ${SHARED_BUILD} = 0 -o "$GCC" != "yes" ; then
eval "TCL_LIB_FILE=\"${LIBPREFIX}tcl${VER}${LIBSUFFIX}\""
else
eval "TCL_LIB_FILE=\"${LIBPREFIX}tcl${VER}${DLLSUFFIX}.a\""
diff --git a/win/configure.in b/win/configure.in
index 9411dfa..1aceb5c 100644
--- a/win/configure.in
+++ b/win/configure.in
@@ -204,7 +204,7 @@ eval "TCL_SRC_DIR=\"`cd $srcdir/..; $CYGPATH $(pwd)`\""
eval "TCL_DLL_FILE=tcl${VER}${DLLSUFFIX}"
-if test ${SHARED_BUILD} = 0 ; then
+if test ${SHARED_BUILD} = 0 -o "$GCC" != "yes" ; then
eval "TCL_LIB_FILE=\"${LIBPREFIX}tcl${VER}${LIBSUFFIX}\""
else
eval "TCL_LIB_FILE=\"${LIBPREFIX}tcl${VER}${DLLSUFFIX}.a\""