From: Wang, Jian J Date: Thu, 6 Jun 2019 02:57:17 +0000 (+0800) Subject: CryptoPkg/OpensslLib: fix build break caused by missing library X-Git-Tag: edk2-stable201905 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;ds=sidebyside;h=20d2e5a125e34fc8501026613a71549b2a1a3e54;hp=b66c4c4ff918f3663baca7a9321ecd8837cd8522;p=mirror_edk2.git CryptoPkg/OpensslLib: fix build break caused by missing library CryptoPkg\Library\Include\CrtLibSupport.h maps strxxxx interfaces to edk2 PrintLib interfaces but related module inf file don't claim the use of it. This will cause unresolved symbol issue with VS2017 build which has enabled strict symbol check. This patch resolves the problem by adding PrintLib to inf files. Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Jian J Wang Reviewed-by: Liming Gao --- diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf b/CryptoPkg/Library/OpensslLib/OpensslLib.inf index 5a2424fc16..5f36edeeef 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf @@ -562,6 +562,7 @@ BaseLib DebugLib TimerLib + PrintLib [LibraryClasses.ARM] ArmSoftFloatLib diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf index 588da4c040..de05cac931 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf @@ -518,6 +518,7 @@ BaseLib DebugLib TimerLib + PrintLib [LibraryClasses.ARM] ArmSoftFloatLib