From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web12.61594.1629322154780555506 for ; Wed, 18 Aug 2021 14:29:14 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: michael.d.kinney@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10080"; a="277454608" X-IronPort-AV: E=Sophos;i="5.84,332,1620716400"; d="scan'208";a="277454608" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2021 14:29:14 -0700 X-IronPort-AV: E=Sophos;i="5.84,332,1620716400"; d="scan'208";a="521240184" Received: from nsin-mobl.amr.corp.intel.com (HELO mdkinney-MOBL2.amr.corp.intel.com) ([10.212.191.175]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2021 14:29:13 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Rebecca Cran Subject: [edk2-libc Patch V2 9/9] AppPkg/Applications/Python/Python-2.7.10: Update INF lib classes Date: Wed, 18 Aug 2021 14:28:59 -0700 Message-Id: <20210818212859.260-10-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.32.0.windows.1 In-Reply-To: <20210818212859.260-1-michael.d.kinney@intel.com> References: <20210818212859.260-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Michael D Kinney --- 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