[edk2-devel] [edk2-libc Patch 9/9] AppPkg/Applications/Python/Python-2.7.10: Update INF lib classes

Michael D Kinney michael.d.kinney at intel.com
Wed Aug 18 05:42:06 UTC 2021


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 <rebecca at nuviainc.com>
Signed-off-by: Michael D Kinney <michael.d.kinney at 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/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list