summaryrefslogtreecommitdiff
path: root/python3/ExternalProject_python3.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2013-03-21 18:20:01 +0200
committerTor Lillqvist <tlillqvist@suse.com>2013-03-21 20:21:30 +0200
commit8b79f292fb7f41f424c4f02900082a5c9a71c0f4 (patch)
tree984363e70164adc51f6719c9d7f0d935b3519902 /python3/ExternalProject_python3.mk
parent3c61c08757208fb9735814dd62ac80f23cf51b86 (diff)
Fix x64 Windows build of python3 (no idea if it works)
Change-Id: If8075a459acf4901ef451b24e54d88a8b68393f9
Diffstat (limited to 'python3/ExternalProject_python3.mk')
-rw-r--r--python3/ExternalProject_python3.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/python3/ExternalProject_python3.mk b/python3/ExternalProject_python3.mk
index 11635ea0da3d..cc417c35d420 100644
--- a/python3/ExternalProject_python3.mk
+++ b/python3/ExternalProject_python3.mk
@@ -29,13 +29,13 @@ ifeq ($(OS)$(COM),WNTMSC)
$(call gb_ExternalProject_get_state_target,python3,build) :
ifeq ($(VCVER),110)
$(call gb_ExternalProject_run,build,\
- MAKEFLAGS= MSBuild.exe pcbuild.sln /t:Build /p:Configuration=Release /p:PlatformToolset=v110 /p:VisualStudioVersion=11.0 \
+ MAKEFLAGS= MSBuild.exe pcbuild.sln /t:Build /p:Configuration=Release /p:Platform=$(if $(filter INTEL,$(CPUNAME)),Win32,x64) /p:PlatformToolset=v110 /p:VisualStudioVersion=11.0 \
&& cd $(EXTERNAL_WORKDIR) \
&& ln -s PCbuild LO_lib \
,PCBuild)
else ifeq ($(VCVER),100)
$(call gb_ExternalProject_run,build,\
- MAKEFLAGS= MSBuild.exe pcbuild.sln /t:Build /p:Configuration=Release /ToolsVersion:4.0 \
+ MAKEFLAGS= MSBuild.exe pcbuild.sln /t:Build /p:Configuration=Release /p:Platform=$(if $(filter INTEL,$(CPUNAME)),Win32,x64" /ToolsVersion:4.0 \
&& cd $(EXTERNAL_WORKDIR) \
&& ln -s PCbuild LO_lib \
,PCBuild)