]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #15102: Use HOST_PYTHON only if it is set.
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 23 Jun 2012 19:07:39 +0000 (21:07 +0200)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 23 Jun 2012 19:07:39 +0000 (21:07 +0200)
PCbuild/x64.props

index 5f26e6829607acbbef03b5ffe470469a4313f63f..4fb319bbbf8a7babfae9a0e372bc89fcb341dd42 100644 (file)
@@ -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>