diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-29 08:56:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-29 08:56:17 (GMT) |
commit | ff316586bc3edcbdf34aa115d14d497e38ae46b2 (patch) | |
tree | f7c4088cd6f0cf4be4817f8632b30cfdf3721cf9 /win/configure.in | |
parent | 109828f0908c398616e42af914ca232a19010e4f (diff) | |
download | tcl-ff316586bc3edcbdf34aa115d14d497e38ae46b2.zip tcl-ff316586bc3edcbdf34aa115d14d497e38ae46b2.tar.gz tcl-ff316586bc3edcbdf34aa115d14d497e38ae46b2.tar.bz2 |
Fix implib filenames (adapted from Mingw2's 006-proper-implib-name.mingw.patch)
Diffstat (limited to 'win/configure.in')
-rw-r--r-- | win/configure.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/win/configure.in b/win/configure.in index dc597b9..95bc7be 100644 --- a/win/configure.in +++ b/win/configure.in @@ -204,7 +204,11 @@ eval "TCL_SRC_DIR=\"`cd $srcdir/..; $CYGPATH $(pwd)`\"" eval "TCL_DLL_FILE=tcl${VER}${DLLSUFFIX}" -eval "TCL_LIB_FILE=${LIBPREFIX}tcl$VER${LIBSUFFIX}" +if test ${SHARED_BUILD} = 0 ; then + eval "TCL_LIB_FILE=\"${LIBPREFIX}tcl${VER}${LIBSUFFIX}\"" +else + eval "TCL_LIB_FILE=\"${LIBPREFIX}tcl${VER}${DLLSUFFIX}.a\"" +fi eval "TCL_LIB_FLAG=\"-ltcl${VER}${LIBFLAGSUFFIX}\"" eval "TCL_BUILD_LIB_SPEC=\"-L`$CYGPATH $(pwd)` ${TCL_LIB_FLAG}\"" |