summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-09-22 06:48:29 (GMT)
committernijtmans <nijtmans>2010-09-22 06:48:29 (GMT)
commitaf87cf89e1bf5f83e652557de45fe1f05725184a (patch)
tree0b4e70f1f686c3a2c671d29cc63227d5043a51d0
parent1bc3873747cddada6f8e1dfd4d6f6874c0e47249 (diff)
downloadtcl-af87cf89e1bf5f83e652557de45fe1f05725184a.zip
tcl-af87cf89e1bf5f83e652557de45fe1f05725184a.tar.gz
tcl-af87cf89e1bf5f83e652557de45fe1f05725184a.tar.bz2
Add kernel32 to LIBS, so the link line for mingw is exactly the same as for MSVC++
-rw-r--r--ChangeLog5
-rwxr-xr-xwin/configure2
-rw-r--r--win/tcl.m42
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1331bce..7992892 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-09-22 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * win/tcl.m4: Add kernel32 to LIBS, so the link line for mingw
+ * win/configure: is exactly the same as for MSVC++.
+
2010-09-21 Jeff Hobbs <jeffh@ActiveState.com>
* generic/tclExecute.c (TclExecuteByteCode):
diff --git a/win/configure b/win/configure
index fefa99b..771a1cb 100755
--- a/win/configure
+++ b/win/configure
@@ -4070,7 +4070,7 @@ echo "${ECHO_T} Using 64-bit $MACHINE mode" >&6
fi
fi
- LIBS="user32.lib advapi32.lib ws2_32.lib"
+ LIBS="kernel32.lib user32.lib advapi32.lib ws2_32.lib"
if test "$do64bit" != "no" ; then
# The space-based-path will work for the Makefile, but will
# not work if AC_TRY_COMPILE is called. TEA has the
diff --git a/win/tcl.m4 b/win/tcl.m4
index 1ad10ae..20845c0 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -615,7 +615,7 @@ file for information about building with Mingw.])
fi
fi
- LIBS="user32.lib advapi32.lib ws2_32.lib"
+ LIBS="kernel32.lib user32.lib advapi32.lib ws2_32.lib"
if test "$do64bit" != "no" ; then
# The space-based-path will work for the Makefile, but will
# not work if AC_TRY_COMPILE is called. TEA has the