Windows 64-bit - avoid missing symbol errors
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 27 Aug 2007 07:08:24 +0000 (07:08 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 27 Aug 2007 07:08:24 +0000 (07:08 +0000)
Microsoft defaults stack checking (/Gs) to on.  This requires
that bufferoverflowU.lib be included in the link step.  The
macro SCLIB in the build system specifies this library on
versions of Windows that require it.  Include SCLIB on the
link line of the makefile.

ticket: new
component: windows

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19881 dc483132-0cff-0310-8789-dd5450dbe970

src/windows/kfwlogon/Makefile.in

index 0d7fcc565b0f25e38a086a6b90d1b6b1dabd155c..47b48109fa18a2a3622f2b0c2a16929197450f28 100644 (file)
@@ -31,11 +31,11 @@ $(EXERES): $(VERSIONRC)
 all-windows:: $(OUTPRE)kfwlogon.dll $(OUTPRE)kfwcpcc.exe
 
 $(KFWLOGON): $(OUTPRE)kfwlogon.obj $(OUTPRE)kfwcommon.obj $(LIBRES)
-    link $(DLL_LINKOPTS) -out:$@ $(OUTPRE)kfwlogon.obj $(OUTPRE)kfwcommon.obj -entry:DllEntryPoint -def:kfwlogon.def $(SYSLIBS) $(KLIB) $(CLIB) $(LIBRES)
+    link $(DLL_LINKOPTS) -out:$@ $(OUTPRE)kfwlogon.obj $(OUTPRE)kfwcommon.obj -entry:DllEntryPoint -def:kfwlogon.def $(SYSLIBS) $(KLIB) $(CLIB) $(SCLIB) $(LIBRES)
     $(_VC_MANIFEST_EMBED_DLL)
 
 $(KFWCPCC): $(OUTPRE)kfwcpcc.obj $(OUTPRE)kfwcommon.obj $(EXERES)
-    link $(EXE_LINKOPTS) -out:$@ $(OUTPRE)kfwcpcc.obj $(OUTPRE)kfwcommon.obj $(SYSLIBS) $(KLIB) $(CLIB) $(EXERES)
+    link $(EXE_LINKOPTS) -out:$@ $(OUTPRE)kfwcpcc.obj $(OUTPRE)kfwcommon.obj $(SYSLIBS) $(KLIB) $(CLIB) $(SCLIB) $(EXERES)
     $(_VC_MANIFEST_EMBED_EXE)
 
 install::