summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-09-22 06:48:29 (GMT)
committernijtmans <nijtmans>2010-09-22 06:48:29 (GMT)
commitc97721f6ea445153b3b9bd1d6dc3f4f9ad551fdd (patch)
tree0b4e70f1f686c3a2c671d29cc63227d5043a51d0 /win
parent4dbb6d9db471aad324a4f71344df2306e988e48b (diff)
downloadtcl-c97721f6ea445153b3b9bd1d6dc3f4f9ad551fdd.zip
tcl-c97721f6ea445153b3b9bd1d6dc3f4f9ad551fdd.tar.gz
tcl-c97721f6ea445153b3b9bd1d6dc3f4f9ad551fdd.tar.bz2
Add kernel32 to LIBS, so the link line for mingw is exactly the same as for MSVC++
Diffstat (limited to 'win')
-rwxr-xr-xwin/configure2
-rw-r--r--win/tcl.m42
2 files changed, 2 insertions, 2 deletions
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