]> granicus.if.org Git - python/commitdiff
Fixes default intermediate directory when building on Windows.
authorSteve Dower <steve.dower@microsoft.com>
Mon, 25 Jul 2016 01:03:22 +0000 (18:03 -0700)
committerSteve Dower <steve.dower@microsoft.com>
Mon, 25 Jul 2016 01:03:22 +0000 (18:03 -0700)
PCbuild/pyproject.props

index 05473fd054cd0d5d7413e517eeadfb93395c384f..d1ac99847b98093607722848245d0edffed095ee 100644 (file)
@@ -5,7 +5,7 @@
     <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
     <OutDir>$(BuildPath)</OutDir>
     <OutDir Condition="!HasTrailingSlash($(OutDir))">$(OutDir)\</OutDir>
-    <Py_IntDir Condition="'$(PyIntDir)' == ''">$(SolutionDir)obj\</Py_IntDir>
+    <Py_IntDir Condition="'$(Py_IntDir)' == ''">$(MSBuildThisFileDirectory)obj\</Py_IntDir>
     <IntDir>$(Py_IntDir)\$(ArchName)_$(Configuration)\$(ProjectName)\</IntDir>
     <IntDir Condition="$(Configuration) == 'PGInstrument' or $(Configuration) == 'PGUpdate'">$(Py_IntDir)\$(ArchName)_PGO\$(ProjectName)\</IntDir>
     <TargetName Condition="'$(TargetName)' == ''">$(ProjectName)</TargetName>