Skip to content

Commit

Permalink
[mono] Add exists condition for copying hostfxr & hostpolicy symbol f…
Browse files Browse the repository at this point in the history
…iles (#103641)

This was missing from #103304 and it causes build issues on windows mono runs

Fixes #103642
  • Loading branch information
steveisok authored Jun 18, 2024
1 parent 35437dd commit 808328e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libraries/externals.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<ItemGroup>
<RuntimeFiles Include="@(HostFxrFile)" Condition="Exists('@(HostFxrFile)') and '$(TargetsMobile)' != 'true'"/>
<RuntimeFiles Include="@(HostPolicyFile)" Condition="Exists('@(HostPolicyFile)') and '$(TargetsMobile)' != 'true'" />
<RuntimeFiles Include="@(_HostSymbols)" IsNative="true" Condition="'$(TargetsMobile)' != 'true'" />
<RuntimeFiles Include="@(_HostSymbols)" IsNative="true" Condition="Exists('@(_HostSymbols)') and '$(TargetsMobile)' != 'true'" />
<ReferenceCopyLocalPaths Include="@(RuntimeFiles)" />
<!-- Setup runtime pack native. -->
<ReferenceCopyLocalPaths Include="@(MonoCrossFiles)"
Expand Down

0 comments on commit 808328e

Please sign in to comment.