Fix typo in SingleEntry.targets property (#82935)
authorAdeel Mujahid <3840695+am11@users.noreply.github.com>
Fri, 3 Mar 2023 15:17:52 +0000 (17:17 +0200)
committerGitHub <noreply@github.com>
Fri, 3 Mar 2023 15:17:52 +0000 (07:17 -0800)
src/coreclr/nativeaot/BuildIntegration/Microsoft.DotNet.ILCompiler.SingleEntry.targets

index d3f914b..76dbd97 100644 (file)
@@ -18,7 +18,7 @@
     <_targetArchitecture>$(RuntimeIdentifier.SubString($([MSBuild]::Add($(RuntimeIdentifier.LastIndexOf('-')), 1))))</_targetArchitecture>
 
     <_hostPackageName>runtime.$(_hostOS)-$(_hostArchitecture).Microsoft.DotNet.ILCompiler</_hostPackageName>
-    <_targetPackageName>runtime.$(_targetOSPkg)-$(_targetArchitecture).Microsoft.DotNet.ILCompiler</_targetPackageName>
+    <_targetPackageName>runtime.$(_targetOS)-$(_targetArchitecture).Microsoft.DotNet.ILCompiler</_targetPackageName>
 
     <!-- From this point onwards, we will treat linux-musl as linux -->
     <_targetOS Condition="$(_targetOS.StartsWith('linux'))">linux</_targetOS>