Kaydet (Commit) e510bd16 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Adjust sqlite3 build process to Win64.

üst 8ddab271
......@@ -152,7 +152,7 @@
<Tool
Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK"
AdditionalDependencies="..\..\sqlite-source-3.3.4\sqlite3.lib"
AdditionalDependencies="..\..\sqlite-source-3.3.4\ia64\sqlite3.lib"
OutputFile="./_sqlite3.pyd"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
......@@ -214,7 +214,7 @@
<Tool
Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK"
AdditionalDependencies="..\..\sqlite-source-3.3.4\sqlite3.lib"
AdditionalDependencies="..\..\sqlite-source-3.3.4\amd64\sqlite3.lib"
OutputFile="./_sqlite3.pyd"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
......
......@@ -967,7 +967,13 @@ def add_files(db):
for f in glob.glob1(tcldir, "*.dll"):
lib.add_file(f, src=os.path.join(tcldir, f))
# Add sqlite
lib.add_file(srcdir+"/"+sqlite_dir+"/sqlite3.dll")
if msilib.msi_type=="Intel64;1033":
sqlite_arch = "/ia64"
elif msilib.msi_type=="x64;1033":
sqlite_arch = "/amd64"
else:
sqlite_arch = ""
lib.add_file(srcdir+"/"+sqlite_dir+sqlite_arch+"/sqlite3.dll")
# check whether there are any unknown extensions
for f in glob.glob1(srcdir+"/PCBuild", "*.pyd"):
if f.endswith("_d.pyd"): continue # debug version
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment