Fix PortableRid default for cross-build source-builds. (#18854)
This commit is contained in:
parent
d0fb5df231
commit
bdc894d0d6
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@
|
|||
|
||||
<!-- Source-only builds are non portable, except for cross-builds.
|
||||
Source-only cross-builds default to the portable configuration so the resulting SDK works on a wider range of distros. -->
|
||||
<PortableBuild Condition="'$(PortableBuild)' == '' and '$(DotNetBuildSourceOnly)' == 'true' and '$(HostArchitecture)' == '$(TargetArchitecture)'">false</PortableBuild>
|
||||
<PortableBuild Condition="'$(PortableBuild)' == '' and '$(DotNetBuildSourceOnly)' == 'true' and '$(BuildArchitecture)' == '$(TargetArchitecture)'">false</PortableBuild>
|
||||
<PortableBuild Condition="'$(PortableBuild)' == ''">true</PortableBuild>
|
||||
|
||||
<PortableRid Condition="'$(__PortableTargetOS)' != ''">$(__PortableTargetOS)-$(TargetArchitecture)</PortableRid>
|
||||
|
|
Loading…
Reference in a new issue