From 58614a0f6da787c9d6d914b99564f066d13f69ed Mon Sep 17 00:00:00 2001 From: Jo Shields Date: Fri, 6 Jan 2023 22:37:16 -0500 Subject: [PATCH] Fix failing official build (#80316) Resolves official build breakage caused by https://github.com/dotnet/runtime/pull/74428 (where `PackageRID` can be `linux-wasm` or `osx-wasm` instead of `browser-wasm` when `/p:PortableBuild=true`, but `OutputRid` is fine) --- src/mono/mono.proj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mono/mono.proj b/src/mono/mono.proj index 9b18ac0..0b4cbf7 100644 --- a/src/mono/mono.proj +++ b/src/mono/mono.proj @@ -868,10 +868,10 @@ $(RuntimeBinDir)%(_MonoRuntimeComponentsSharedFilePath.Filename)%(_MonoRuntimeComponentsSharedFilePath.Extension) <_MonoRuntimeArtifacts Include="$(_MonoAotCrossFilePath)"> - $(RuntimeBinDir)cross\$(PackageRID)\$(MonoAotCrossFileName) + $(RuntimeBinDir)cross\$(OutputRid)\$(MonoAotCrossFileName) <_MonoRuntimeArtifacts Include="$(_MonoAotCrossPdbFilePath)" Condition="Exists('$(_MonoAotCrossPdbFilePath)')"> - $(RuntimeBinDir)cross\$(PackageRID)\$(MonoAotCrossPdbFileName) + $(RuntimeBinDir)cross\$(OutputRid)\$(MonoAotCrossPdbFileName) <_MonoRuntimeArtifacts Condition="'$(MonoBundleLLVMOptimizer)' == 'true'" Include="$(MonoLLVMDir)\$(_MonoLLVMTargetArchitecture)\bin\llc$(ExeSuffix)"> $(RuntimeBinDir)\llc$(ExeSuffix) @@ -880,10 +880,10 @@ $(RuntimeBinDir)\opt$(ExeSuffix) <_MonoRuntimeArtifacts Condition="'$(MonoAOTBundleLLVMOptimizer)' == 'true'" Include="$(MonoLLVMDir)\$(_MonoLLVMTargetArchitecture)\bin\llc$(ExeSuffix)"> - $(RuntimeBinDir)cross\$(PackageRID)\llc$(ExeSuffix) + $(RuntimeBinDir)cross\$(OutputRid)\llc$(ExeSuffix) <_MonoRuntimeArtifacts Condition="'$(MonoAOTBundleLLVMOptimizer)' == 'true'" Include="$(MonoLLVMDir)\$(_MonoLLVMTargetArchitecture)\bin\opt$(ExeSuffix)"> - $(RuntimeBinDir)cross\$(PackageRID)\opt$(ExeSuffix) + $(RuntimeBinDir)cross\$(OutputRid)\opt$(ExeSuffix) <_MonoIncludeArtifacts Include="$(MonoObjDir)out\include\**" /> <_MonoRuntimeArtifacts Condition="'$(MonoComponentsStatic)' != 'true' and Exists('$(MonoObjDir)out\lib\Mono.release.framework')" Include="@(_MonoRuntimeComponentsSharedFilePath)"> -- 2.7.4