]> git.proxmox.com Git - mirror_edk2.git/commit - Nt32Pkg/Sec/SecMain.inf
Nt32Pkg: Fix VS2015 Build Failure
authorLiming Gao <liming.gao@intel.com>
Tue, 22 Dec 2015 01:01:31 +0000 (01:01 +0000)
committerlgao4 <lgao4@Edk2>
Tue, 22 Dec 2015 01:01:31 +0000 (01:01 +0000)
commit370e695d386a00969cdce7fc2d70b8a9e602d0ef
tree2956107f9478b413d58503a041913435ba2de1d7
parent142d2dcbb8e1fc3d7a932451e6cc71821880cc6a
Nt32Pkg: Fix VS2015 Build Failure

VS2015 separates vcruntime.lib and ucrt.lib from msvcrt.lib. Per MSDN notes,
If you link with the /nodefaultlib option, you will need to link several
extra libraries when you link. For example, whereas you previously might have
just linked msvcrt.lib in order to use the CRT DLL, you will now also
need to link vcruntime.lib and ucrt.lib. More detail is in
http://blogs.msdn.com/b/vcblog/archive/2015/03/03/introducing-the-universal-crt.aspx

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19430 6f19259b-4bc3-4df7-8a09-765794883524
Nt32Pkg/Sec/SecMain.inf