summaryrefslogtreecommitdiffstats
path: root/win/configure.in
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-29 14:09:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-29 14:09:10 (GMT)
commit5dab749a31b11a06605c7236dae5c91b0d74a760 (patch)
tree95216ac91690e94865ff1d918172e87318a0bc95 /win/configure.in
parent6c33a5829de2164ea44a4b04a48188bdc4633b48 (diff)
parentac0e4f752a2eaa41e81125e91e90c17759d7ed79 (diff)
downloadtk-5dab749a31b11a06605c7236dae5c91b0d74a760.zip
tk-5dab749a31b11a06605c7236dae5c91b0d74a760.tar.gz
tk-5dab749a31b11a06605c7236dae5c91b0d74a760.tar.bz2
Always compile with -D__USE_MINGW_ANSI_STDIO=0.
Fix implib library names Fix win64 build using high-entropy-va opotion
Diffstat (limited to 'win/configure.in')
-rw-r--r--win/configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/win/configure.in b/win/configure.in
index e745000..0617e24 100644
--- a/win/configure.in
+++ b/win/configure.in
@@ -166,7 +166,11 @@ TK_EXPORT_FILE_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}"
eval "TK_SRC_DIR=\"`cd $srcdir/..; pwd`\""
eval "TK_DLL_FILE=tk$VER${DLLSUFFIX}"
-eval "TK_LIB_FILE=${LIBPREFIX}tk$VER${LIBSUFFIX}"
+if test ${SHARED_BUILD} = 0 ; then
+ eval "TK_LIB_FILE=${LIBPREFIX}tk${VER}${LIBSUFFIX}"
+else
+ eval "TK_LIB_FILE=${LIBPREFIX}tk${VER}${DLLSUFFIX}.a"
+fi
eval "TK_STUB_LIB_FILE=${LIBPREFIX}tkstub${VER}${LIBSUFFIX}"
# FIXME: All of this var junk needs to be done in tcl.m4 !!!!