From c97721f6ea445153b3b9bd1d6dc3f4f9ad551fdd Mon Sep 17 00:00:00 2001 From: nijtmans Date: Wed, 22 Sep 2010 06:48:29 +0000 Subject: Add kernel32 to LIBS, so the link line for mingw is exactly the same as for MSVC++ --- ChangeLog | 5 +++++ win/configure | 2 +- win/tcl.m4 | 2 +- 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 + + * 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 * 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 -- cgit v0.12