diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-04-04 16:28:14 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-04-04 16:28:14 (GMT) |
commit | e510bd16eaf2e8b7e3b7fb79e376cb5df00845d9 (patch) | |
tree | fd53aafd522806f20e0398a0dba5ed541302d151 /Tools | |
parent | 8ddab27182d7d00f32f423955d2344b8ba40b9d7 (diff) | |
download | cpython-e510bd16eaf2e8b7e3b7fb79e376cb5df00845d9.zip cpython-e510bd16eaf2e8b7e3b7fb79e376cb5df00845d9.tar.gz cpython-e510bd16eaf2e8b7e3b7fb79e376cb5df00845d9.tar.bz2 |
Adjust sqlite3 build process to Win64.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/msi/msi.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Tools/msi/msi.py b/Tools/msi/msi.py index 0b8fbc3..ab2a6d2 100644 --- a/Tools/msi/msi.py +++ b/Tools/msi/msi.py @@ -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 |