]> granicus.if.org Git - python/commitdiff
Build bzip2.
authorThomas Heller <theller@ctypes.org>
Wed, 13 Jun 2007 07:54:57 +0000 (07:54 +0000)
committerThomas Heller <theller@ctypes.org>
Wed, 13 Jun 2007 07:54:57 +0000 (07:54 +0000)
Tools/buildbot/external-amd64.bat

index b26faf4495754717552e76676ed3d723fec4fcd6..ec9e6b6214531499d003e777ab603bb08f0751bd 100644 (file)
@@ -25,6 +25,11 @@ if not exist %CWD%\PCbuild\sqlite3.dll (
 
 @rem bzip
 if not exist bzip2-1.0.3 svn export http://svn.python.org/projects/external/bzip2-1.0.3
+if not exist bzip2-1.0.3\libbz2.lib (
+   cd bzip2-1.0.3
+   nmake /f makefile.msc CFLAGS="-DWIN32 -MD -Ox -D_FILE_OFFSET_BITS=64 -nologo /GS-"
+   cd ..
+)
 
 @rem Sleepycat db
 if not exist db-4.4.20 svn export http://svn.python.org/projects/external/db-4.4.20