]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update Windows build to use zlib 1.2.1
authorJeremy Hylton <jeremy@alum.mit.edu>
Fri, 9 Jan 2004 16:05:07 +0000 (16:05 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Fri, 9 Jan 2004 16:05:07 +0000 (16:05 +0000)
PCbuild/readme.txt
PCbuild/zlib.vcproj

index 7832cb18bd0f19f40257d830681187633eaab1d9..02227a2c836f3e973f24c3066ee0e7c6ec1dca81 100644 (file)
@@ -117,15 +117,15 @@ _tkinter
 
 zlib
     Python wrapper for the zlib compression library.  Get the source code
-    for version 1.1.4 from a convenient mirror at:
+    for version 1.2.1 from a convenient mirror at:
         http://www.gzip.org/zlib/
-    Unpack into dist\zlib-1.1.4.
+    Unpack into dist\zlib-1.2.1.
     A custom pre-link step in the zlib project settings should manage to
-    build zlib-1.1.4\zlib.lib by magic before zlib.pyd (or zlib_d.pyd) is
+    build zlib-1.2.1\zlib.lib by magic before zlib.pyd (or zlib_d.pyd) is
     linked in PCbuild\.
     However, the zlib project is not smart enough to remove anything under
-    zlib-1.1.4\ when you do a clean, so if you want to rebuild zlib.lib
-    you need to clean up zlib-1.1.4\ by hand.
+    zlib-1.2.1\ when you do a clean, so if you want to rebuild zlib.lib
+    you need to clean up zlib-1.2.1\ by hand.
 
 bz2
     Python wrapper for the libbz2 compression library.  Homepage
index 0a46340b983925179ad8ffd31d30da5c5eb020cf..156283619041e31017b59471e008deeb49eab49c 100644 (file)
@@ -3,6 +3,7 @@
        ProjectType="Visual C++"
        Version="7.10"
        Name="zlib"
+       RootNamespace="zlib"
        SccProjectName="zlib"
        SccLocalPath="..">
        <Platforms>
@@ -20,7 +21,7 @@
                        <Tool
                                Name="VCCLCompilerTool"
                                Optimization="0"
-                               AdditionalIncludeDirectories="..\Include,..\PC,..\..\zlib-1.1.4"
+                               AdditionalIncludeDirectories="..\Include,..\PC,..\..\zlib-1.2.1"
                                PreprocessorDefinitions="_DEBUG;WIN32;_WINDOWS"
                                RuntimeLibrary="3"
                                UsePrecompiledHeader="2"
@@ -36,7 +37,7 @@
                                Name="VCCustomBuildTool"/>
                        <Tool
                                Name="VCLinkerTool"
-                               AdditionalDependencies="..\..\zlib-1.1.4\zlib.lib"
+                               AdditionalDependencies="..\..\zlib-1.2.1\zlib.lib"
                                OutputFile="./zlib_d.pyd"
                                LinkIncremental="1"
                                SuppressStartupBanner="TRUE"
@@ -62,8 +63,8 @@
                        <Tool
                                Name="VCPreLinkEventTool"
                                Description="Checking static zlib has been built"
-                               CommandLine="cd ..\..\zlib-1.1.4
-nmake -nologo -f msdos\makefile.w32 zlib.lib
+                               CommandLine="cd ..\..\zlib-1.2.1
+nmake -nologo -f win32\Makefile.msc zlib.lib
 "/>
                        <Tool
                                Name="VCResourceCompilerTool"