diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2006-04-04 16:28:14 +0000 |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2006-04-04 16:28:14 +0000 |
| commit | d1c8d84aafa92b40e8a1d49f04c4db9a7673d206 (patch) | |
| tree | c8016d0e0d2748d2578bdce95c5739d9fdd6cb02 /Tools | |
| parent | 594d872514aeb6301b07519bf0a2061b8201630c (diff) | |
| download | cpython-d1c8d84aafa92b40e8a1d49f04c4db9a7673d206.tar.gz | |
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 0b8fbc31c4..ab2a6d2040 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 |
