REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3549
Add BsdSocketLib and EfiSocketLib to [LibraryClasses] section of Python-2.7.10.inf. Even if sockets are disabled in Python config, with the /WHOLEARCHIVE linker option, there are still references to the socket related functions. Add these lib classes so the link can pass for both sockets enabled and sockets disabled builds. Cc: Rebecca Cran <rebe...@nuviainc.com> Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com> --- AppPkg/Applications/Python/Python-2.7.10/Python2710.inf | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/AppPkg/Applications/Python/Python-2.7.10/Python2710.inf b/AppPkg/Applications/Python/Python-2.7.10/Python2710.inf index 2675630..ccf0c60 100644 --- a/AppPkg/Applications/Python/Python-2.7.10/Python2710.inf +++ b/AppPkg/Applications/Python/Python-2.7.10/Python2710.inf @@ -43,11 +43,8 @@ LibGen LibNetUtil DevMedia - # -# Comment out the following two library classes if socket support is -# NOT being built in to Python. - #BsdSocketLib - #EfiSocketLib + BsdSocketLib + EfiSocketLib [FixedPcd] gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0F -- 2.32.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#79466): https://edk2.groups.io/g/devel/message/79466 Mute This Topic: https://groups.io/mt/84966618/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-