diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-11-04 16:05:02 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2014-11-04 16:05:02 (GMT) |
commit | 6131ba244239580b61431e66beb1ef2edcb4dec8 (patch) | |
tree | 58e67c48b0da2a77f4adaa47500573146f329178 /win/configure | |
parent | 5b84b16e1fee2a7da08f3e3a3f0bb7a0ea5a72a8 (diff) | |
download | tcl-bug_b5ced5865b.zip tcl-bug_b5ced5865b.tar.gz tcl-bug_b5ced5865b.tar.bz2 |
Proposed workaround for [b5ced5865b]: newer MinGW compilers can link directory to the zlib dll, hopefully older MinGW's which cannot do that are obsolete now. For now, leave 64-bit as-is.bug_b5ced5865b
Diffstat (limited to 'win/configure')
-rwxr-xr-x | win/configure | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/win/configure b/win/configure index cf2b201..a47f226 100755 --- a/win/configure +++ b/win/configure @@ -4377,7 +4377,17 @@ fi else - ZLIB_LIBS=\${ZLIB_DIR}/win32/zdll.lib + if test "$GCC" == "yes"; then + + ZLIB_LIBS="-L. -lz" + + +else + + ZLIB_LIBS=\${ZLIB_DIR}/win32/zdll.lib + + +fi fi |