Change PackagePlatform to Platform for x86 jit pkg
authorMichelle McDaniel <adiaaida@gmail.com>
Mon, 6 Mar 2017 22:36:19 +0000 (14:36 -0800)
committerMichelle McDaniel <adiaaida@gmail.com>
Mon, 6 Mar 2017 22:36:19 +0000 (14:36 -0800)
PackagePlatform was removed in dotnet/coreclr@8dcf9665feabee339029c79b9d86dd24c71905d1,
but the x86 jit package props file was never updated to not use that
property. This change updates the props file to use Platform instead of
PackagePlatform to make sure we package compatjit.dll for x86.

Commit migrated from https://github.com/dotnet/coreclr/commit/0444288993ff9ced49a215e4d2a01a2363d9fc4b

src/coreclr/src/.nuget/Microsoft.NETCore.Jit/runtime.Windows_NT.Microsoft.NETCore.Jit.props

index 1485fcc..dcc8641 100644 (file)
@@ -2,7 +2,7 @@
 <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
   <ItemGroup>
     <NativeBinary Include="$(BinDir)clrjit.dll" />
-    <NativeBinary Condition="'$(PackagePlatform)' == 'x86'" Include="$(BinDir)compatjit.dll" />
+    <NativeBinary Condition="'$(Platform)' == 'x86'" Include="$(BinDir)compatjit.dll" />
     <CrossArchitectureSpecificNativeFileAndSymbol Include="$(BinDir)$(CrossTargetComponentFolder)\clrjit.dll" />
 
     <!-- prevent accidental inclusion in AOT projects. -->