summaryrefslogtreecommitdiffstats
path: root/win/configure
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-10-11 12:27:32 (GMT)
committernijtmans <nijtmans>2010-10-11 12:27:32 (GMT)
commit7af9b96ae8af965228ce6e968abc3291e2486de2 (patch)
tree7caac7b209dd631a4b68a50300ecb9a16b35f849 /win/configure
parent5a8be28add9aeca01e32b41d7c021f912eb3d4d4 (diff)
downloadtk-7af9b96ae8af965228ce6e968abc3291e2486de2.zip
tk-7af9b96ae8af965228ce6e968abc3291e2486de2.tar.gz
tk-7af9b96ae8af965228ce6e968abc3291e2486de2.tar.bz2
Add netapi32 to the windows link line
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 dbef146..5ef96d9 100755
--- a/win/configure
+++ b/win/configure
@@ -3287,7 +3287,7 @@ echo "$as_me: WARNING: 64bit mode not supported with GCC on Windows" >&2;}
fi
SHLIB_LD=""
SHLIB_LD_LIBS='${LIBS}'
- LIBS="-lkernel32 -luser32 -ladvapi32 -lws2_32"
+ LIBS="-lnetapi32 -lkernel32 -luser32 -ladvapi32 -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'
@@ -3449,7 +3449,7 @@ echo "${ECHO_T} Using 64-bit $MACHINE mode" >&6
fi
fi
- LIBS="kernel32.lib user32.lib advapi32.lib ws2_32.lib"
+ LIBS="netapi32.lib 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