From 5ae245a8894dbda2915a1bf695e25ef8bb17096f Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Sun, 11 Jan 2015 22:36:04 +0100 Subject: [PATCH] Fix Python build in debug mode on x86_64 platform on windows 8a6c5b2f fixed Python build in release mode for x64, but missed to do the same for the debug mode. Change-Id: I9762b4089ec95fbd8af12e581fbe8577be5f802a Reviewed-on: https://gerrit.libreoffice.org/13089 Reviewed-by: David Ostrovsky Tested-by: David Ostrovsky --- .../python3/python-3.3.0-msvc-x64.patch.1 | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/external/python3/python-3.3.0-msvc-x64.patch.1 b/external/python3/python-3.3.0-msvc-x64.patch.1 index 8882a1c87fc0..a92acc77a563 100644 --- a/external/python3/python-3.3.0-msvc-x64.patch.1 +++ b/external/python3/python-3.3.0-msvc-x64.patch.1 @@ -208,6 +208,35 @@ diff -ru python3/PCbuild/pcbuild.sln python3.new/PCbuild/pcbuild.sln +@@ -172,9 +172,9 @@ + + + Build PC/pythonnt_rc(_d).h + cd $(SolutionDir) +-make_versioninfo_d.exe > ..\PC\pythonnt_rc_d.h ++amd64\make_versioninfo_d.exe > ..\PC\pythonnt_rc_d.h + + $(SolutionDir)..\PC\pythonnt_rc_d.h;%(Outputs) + + +@@ -186,14 +186,15 @@ + false + _CONSOLE;%(PreprocessorDefinitions) + + +- $(SolutionDir)make_versioninfo_d.exe ++ $(SolutionDir)amd64\make_versioninfo_d.exe ++ Console + MachineX64 + + + cd $(SolutionDir) +-make_versioninfo_d.exe > ..\PC\python_nt_d.h ++amd64\make_versioninfo_d.exe > ..\PC\python_nt_d.h + + + + --- python3/PCbuild/pythoncore.vcxproj +++ python3/PCbuild/pythoncore.vcxproj @@ -195,35 +195,35 @@ @@ -247,3 +276,14 @@ diff -ru python3/PCbuild/pcbuild.sln python3.new/PCbuild/pcbuild.sln Killing any running $(PythonExe) instances... +@@ -289,9 +289,9 @@ + ..\Include;%(AdditionalIncludeDirectories) + + + Generate build information... +- "$(SolutionDir)make_buildinfo.exe" Debug "$(IntDir)" ++ "$(SolutionDir)amd64\make_buildinfo.exe" Debug "$(IntDir)" + + + $(IntDir)getbuildinfo.o;%(AdditionalDependencies) + libc;%(IgnoreSpecificDefaultLibraries)