summaryrefslogtreecommitdiffstats
path: root/win/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-10-06 14:49:23 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-10-06 14:49:23 (GMT)
commitcfea006a9d30352c695b25ca4a3d4f4416be54b9 (patch)
tree0f4f9046805988cc273ce06b3db5fd75c8167c21 /win/configure
parent7c5ea5b5f1424998f9b8182c515b43d1c7f8452a (diff)
parent3a680cc4493122ec315ba29b1b97c966716a9503 (diff)
downloadtcl-cfea006a9d30352c695b25ca4a3d4f4416be54b9.zip
tcl-cfea006a9d30352c695b25ca4a3d4f4416be54b9.tar.gz
tcl-cfea006a9d30352c695b25ca4a3d4f4416be54b9.tar.bz2
Fix [b42a851475]: file normalize ~user returns wrong directory on Windows
Diffstat (limited to 'win/configure')
-rwxr-xr-xwin/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/configure b/win/configure
index 4ca795c..4ce23f9 100755
--- a/win/configure
+++ b/win/configure
@@ -3587,7 +3587,7 @@ echo $ECHO_N "checking compiler flags... $ECHO_C" >&6
if test "${GCC}" = "yes" ; then
SHLIB_LD=""
SHLIB_LD_LIBS='${LIBS}'
- LIBS="-lnetapi32 -lkernel32 -luser32 -ladvapi32 -lws2_32"
+ LIBS="-lnetapi32 -lkernel32 -luser32 -ladvapi32 -luserenv -lws2_32"
# mingw needs to link ole32 and oleaut32 for [send], but MSVC doesn't
LIBS_GUI="-lgdi32 -lcomdlg32 -limm32 -lcomctl32 -lshell32 -luuid -lole32 -loleaut32"
STLIB_LD='${AR} cr'
@@ -3803,7 +3803,7 @@ echo "${ECHO_T} Using 64-bit $MACHINE mode" >&6
fi
fi
- LIBS="netapi32.lib kernel32.lib user32.lib advapi32.lib ws2_32.lib"
+ LIBS="netapi32.lib kernel32.lib user32.lib advapi32.lib userenv.lib ws2_32.lib"
case "x`echo \${VisualStudioVersion}`" in
x1[4-9]*)