mirror of https://github.com/python/cpython
Add bufferoverflowU.lib to PCBuild\_bsddb.vcproj.
Build sqlite3.dll and bsddb.
This commit is contained in:
parent
46950bae3e
commit
285216ca30
|
@ -213,7 +213,7 @@
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK"
|
AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK"
|
||||||
AdditionalDependencies="..\..\db-4.4.20\build_win32\Release_AMD64\libdb44s.lib"
|
AdditionalDependencies="..\..\db-4.4.20\build_win32\Release_AMD64\libdb44s.lib bufferoverflowU.lib"
|
||||||
OutputFile="./_bsddb.pyd"
|
OutputFile="./_bsddb.pyd"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
SuppressStartupBanner="TRUE"
|
SuppressStartupBanner="TRUE"
|
||||||
|
|
|
@ -1,21 +1,37 @@
|
||||||
@rem Fetches (and builds if necessary) external dependencies
|
@rem Fetches (and builds if necessary) external dependencies
|
||||||
setlocal
|
setlocal
|
||||||
|
|
||||||
|
@rem need this so that 'devenv' is found
|
||||||
|
call "%VS71COMNTOOLS%vsvars32.bat"
|
||||||
|
@rem set the build environment
|
||||||
|
call "%MSSdk%\SetEnv" /XP64 /RETAIL
|
||||||
|
|
||||||
@rem Assume we start inside the Python source directory
|
@rem Assume we start inside the Python source directory
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
@rem sqlite
|
@rem sqlite
|
||||||
if not exist sqlite-source-3.3.4 (
|
if not exist sqlite-source-3.3.4 (
|
||||||
svn export http://svn.python.org/projects/external/sqlite-source-3.3.4
|
svn export http://svn.python.org/projects/external/sqlite-source-3.3.4
|
||||||
if exist trunk\PCbuild\sqlite3.dll del trunk\PCbuild\sqlite3.dll
|
if exist build\PCbuild\sqlite3.dll del build\PCbuild\sqlite3.dll
|
||||||
|
)
|
||||||
|
if not exist build\PCbuild\sqlite3.dll (
|
||||||
|
cd sqlite-source-3.3.4\amd64
|
||||||
|
cl ..\*.c
|
||||||
|
link /def:..\sqlite3.def /dll *.obj /out:sqlite3.dll bufferoverflowU.lib
|
||||||
|
cd ..\..
|
||||||
|
copy sqlite-source-3.3.4\amd64\sqlite3.dll build\PCbuild
|
||||||
)
|
)
|
||||||
|
|
||||||
@rem bzip
|
@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 svn export http://svn.python.org/projects/external/bzip2-1.0.3
|
||||||
|
|
||||||
@rem Sleepycat db
|
@rem Sleepycat db
|
||||||
call "%MSSdk%\SetEnv" /XP64 /RETAIL
|
|
||||||
if not exist db-4.4.20 svn export http://svn.python.org/projects/external/db-4.4.20
|
if not exist db-4.4.20 svn export http://svn.python.org/projects/external/db-4.4.20
|
||||||
|
if not exist "db-4.4.20\build_win32\Release_AMD64\libdb44s.lib_XXX" (
|
||||||
|
cd db-4.4.20\build_win32
|
||||||
|
devenv Berkeley_DB.sln /build "Release AMD64" /project db_static /useenv
|
||||||
|
cd ..\..
|
||||||
|
)
|
||||||
|
|
||||||
@rem OpenSSL
|
@rem OpenSSL
|
||||||
if not exist openssl-0.9.8a svn export http://svn.python.org/projects/external/openssl-0.9.8a
|
if not exist openssl-0.9.8a svn export http://svn.python.org/projects/external/openssl-0.9.8a
|
||||||
|
@ -26,4 +42,3 @@ if not exist tcl8.4.12 (
|
||||||
svn export http://svn.python.org/projects/external/tcl8.4.12
|
svn export http://svn.python.org/projects/external/tcl8.4.12
|
||||||
svn export http://svn.python.org/projects/external/tk8.4.12
|
svn export http://svn.python.org/projects/external/tk8.4.12
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue