summaryrefslogtreecommitdiffstats
path: root/win/configure
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2015-10-06 15:04:42 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2015-10-06 15:04:42 (GMT)
commitd63d7790f49bca24861f5abfda51e1731a9ce977 (patch)
treeb7d2fe003ea8c9f3e2e11a1cead2d37800e737b3 /win/configure
parent098d2f7bc6e24cf7cc307ddff5bdc3e010d3de9a (diff)
downloadtk-d63d7790f49bca24861f5abfda51e1731a9ce977.zip
tk-d63d7790f49bca24861f5abfda51e1731a9ce977.tar.gz
tk-d63d7790f49bca24861f5abfda51e1731a9ce977.tar.bz2
Link with userenv.lib, because it is now needed by Tcl.
FossilOrigin-Name: 62436753dbf6b9b0e051c4c01245cbf5edcf9d3b
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 8671721..64aea44 100755
--- a/win/configure
+++ b/win/configure
@@ -3736,7 +3736,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'
@@ -3952,7 +3952,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]*)