[Python-checkins] cpython: Issue #15102: Use HOST_PYTHON only if it is set.

martin.v.loewis python-checkins at python.org
Sat Jun 23 21:08:12 CEST 2012


http://hg.python.org/cpython/rev/a9d4cf7d15b9
changeset:   77643:a9d4cf7d15b9
user:        Martin v. Löwis <martin at v.loewis.de>
date:        Sat Jun 23 21:07:39 2012 +0200
summary:
  Issue #15102: Use HOST_PYTHON only if it is set.

files:
  PCbuild/x64.props |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/PCbuild/x64.props b/PCbuild/x64.props
--- 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>

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list