summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2012-06-23 19:07:39 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2012-06-23 19:07:39 (GMT)
commitd5ecd49af9863d76254809baf88c646beab5a5d7 (patch)
tree977a3a7b8533cd3bf18aab630574acdba1427303 /PCbuild
parent2100b42317ccbeed60fba90157b20ef4738f56f1 (diff)
downloadcpython-d5ecd49af9863d76254809baf88c646beab5a5d7.zip
cpython-d5ecd49af9863d76254809baf88c646beab5a5d7.tar.gz
cpython-d5ecd49af9863d76254809baf88c646beab5a5d7.tar.bz2
Issue #15102: Use HOST_PYTHON only if it is set.
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/x64.props4
1 files changed, 2 insertions, 2 deletions
diff --git a/PCbuild/x64.props b/PCbuild/x64.props
index 5f26e68..4fb319b 100644
--- a/PCbuild/x64.props
+++ b/PCbuild/x64.props
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup Label="UserMacros">
+ <PropertyGroup Label="UserMacros" Condition="'$(HOST_PYTHON)'!=''">
<PythonExe>$(HOST_PYTHON)</PythonExe>
</PropertyGroup>
<PropertyGroup>
@@ -23,4 +23,4 @@
<Value>$(PythonExe)</Value>
</BuildMacro>
</ItemGroup>
-</Project> \ No newline at end of file
+</Project>