]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.8] gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877) (#115086)
authorŁukasz Langa <lukasz@langa.pl>
Tue, 6 Feb 2024 15:08:41 +0000 (16:08 +0100)
committerGitHub <noreply@github.com>
Tue, 6 Feb 2024 15:08:41 +0000 (16:08 +0100)
(cherry picked from commit 618d7256e78da8200f6e2c6235094a1ef885dca4)

Co-authored-by: Zachary Ware <zach@python.org>
Misc/NEWS.d/next/Windows/2024-02-01-14-35-05.gh-issue-111239.SO7SUF.rst [new file with mode: 0644]
PCbuild/get_externals.bat
PCbuild/python.props

diff --git a/Misc/NEWS.d/next/Windows/2024-02-01-14-35-05.gh-issue-111239.SO7SUF.rst b/Misc/NEWS.d/next/Windows/2024-02-01-14-35-05.gh-issue-111239.SO7SUF.rst
new file mode 100644 (file)
index 0000000..ea82c3b
--- /dev/null
@@ -0,0 +1 @@
+Update Windows builds to use zlib v1.3.1.
index 2322763d0d356f170ff6cd0827400a7bf2918351..a599d0e8da136ac907be81d184e895b27604bed1 100644 (file)
@@ -59,7 +59,7 @@ if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tcl-core-8.6.9.0
 if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tk-8.6.9.0
 if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tix-8.4.3.6
 set libraries=%libraries%                                       xz-5.2.2
-set libraries=%libraries%                                       zlib-1.2.12
+set libraries=%libraries%                                       zlib-1.3.1
 
 for %%e in (%libraries%) do (
     if exist "%EXTERNALS_DIR%\%%e" (
index b5dc2a981b64adf1cbab883806f0c4663e85bc2e..68cfb67b445a9341442945187e2dfdad642d415b 100644 (file)
@@ -71,7 +71,7 @@
     <opensslOutDir Condition="$(opensslOutDir) == ''">$(ExternalsDir)openssl-bin-1.1.1w\$(ArchName)\</opensslOutDir>
     <opensslIncludeDir Condition="$(opensslIncludeDir) == ''">$(opensslOutDir)include</opensslIncludeDir>
     <nasmDir Condition="$(nasmDir) == ''">$(ExternalsDir)\nasm-2.11.06\</nasmDir>
-    <zlibDir Condition="$(zlibDir) == ''">$(ExternalsDir)\zlib-1.2.12\</zlibDir>
+    <zlibDir Condition="$(zlibDir) == ''">$(ExternalsDir)\zlib-1.3.1\</zlibDir>
   </PropertyGroup>
 
   <PropertyGroup>