diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-01-23 20:55:04 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-01-23 20:55:04 +0200 |
commit | 631f331d3c53a0fa0bce20ede1aae14de3670c7e (patch) | |
tree | 64d20260f4cd4e239e0596343590f6ea202f2aec /python/makefile.mk | |
parent | 047e32a694fba1b1e5a7f30bfd3268cb08180364 (diff) |
Fix Python build for x64 Windows
Diffstat (limited to 'python/makefile.mk')
-rw-r--r-- | python/makefile.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/python/makefile.mk b/python/makefile.mk index d090cdc3932a..651a8a0c3c29 100644 --- a/python/makefile.mk +++ b/python/makefile.mk @@ -133,13 +133,19 @@ BUILD_DIR=PC/VS7.1 BUILD_DIR=PC/VC6 .ENDIF +.IF "$(CPU)" == "I" +ARCH=Win32 +.ELSE +ARCH=x64 +.ENDIF + # Build python executable and then runs a minimal script. Running the minimal script # ensures that certain *.pyc files are generated which would otherwise be created on # solver during registration in insetoo_native .IF "$(CCNUMVER)" >= "001600000000" BUILD_ACTION=MSBuild.exe pcbuild.sln /t:Build /p:Configuration=Release /ToolsVersion:4.0 .ELSE -BUILD_ACTION=$(COMPATH)$/vcpackages$/vcbuild.exe pcbuild.sln "Release|Win32" +BUILD_ACTION=$(COMPATH)$/vcpackages$/vcbuild.exe pcbuild.sln "Release|$(ARCH)" .ENDIF .ENDIF .ENDIF |