diff options
author | nijtmans <nijtmans> | 2010-10-11 12:11:53 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-10-11 12:11:53 (GMT) |
commit | 9cc6e0ec345b6410eb72acc698971044188e5936 (patch) | |
tree | 0673bfb7a6a4e8f65b8fea6ebeafeff0d60af4fd /win/makefile.vc | |
parent | d4669031a30c54543be0a0633b29ee1065484c76 (diff) | |
download | tcl-9cc6e0ec345b6410eb72acc698971044188e5936.zip tcl-9cc6e0ec345b6410eb72acc698971044188e5936.tar.gz tcl-9cc6e0ec345b6410eb72acc698971044188e5936.tar.bz2 |
[FRQ 2965056]: Windows build with -DUNICODE
Add netapi32 to the windows link line, so we no longer have to use LoadLibrary to access those functions.
Diffstat (limited to 'win/makefile.vc')
-rw-r--r-- | win/makefile.vc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/makefile.vc b/win/makefile.vc index 8e0ea11..dc8bce5 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -13,7 +13,7 @@ # Copyright (c) 2003-2008 Pat Thoyts. # #------------------------------------------------------------------------------ -# RCS: @(#) $Id: makefile.vc,v 1.214 2010/09/09 14:30:20 nijtmans Exp $ +# RCS: @(#) $Id: makefile.vc,v 1.215 2010/10/11 12:11:53 nijtmans Exp $ #------------------------------------------------------------------------------ # Check to see we are configured to build with MSVC (MSDEVDIR or MSVCDIR) @@ -522,7 +522,7 @@ dlllflags = $(lflags) -dll conlflags = $(lflags) -subsystem:console guilflags = $(lflags) -subsystem:windows -baselibs = kernel32.lib user32.lib advapi32.lib ws2_32.lib +baselibs = netapi32.lib kernel32.lib user32.lib advapi32.lib ws2_32.lib # Avoid 'unresolved external symbol __security_cookie' errors. # c.f. http://support.microsoft.com/?id=894573 !if "$(MACHINE)" == "IA64" || "$(MACHINE)" == "AMD64" |