Skip to content

Commit 9c7db55

Browse files
authored
Enabled linux-musl-x64 composite images to get built. (#47104)
1 parent 022536b commit 9c7db55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
103103
Special case the crossgen2 package reference on Windows to avoid the x86 package when building in Visual Studio.
104104
-->
105105
<BuildOsName>$(TargetOsName)</BuildOsName>
106-
<BuildOsName Condition="'$(TargetOsName)' == 'linux-musl' and '$(TargetArchitecture)'!='x64'">linux</BuildOsName>
106+
<BuildOsName Condition="'$(TargetOsName)' == 'linux-musl' and '$(TargetArchitecture)' != 'x64'">linux</BuildOsName>
107107
<BuildOsName Condition=" '$(PortableBuild)' == 'false' ">$(TargetRuntimeIdentifier.Substring(0,$(TargetRuntimeIdentifier.IndexOf('-'))))</BuildOsName>
108108
<Crossgen2BuildArchitecture Condition=" '$(BuildOsName)' == 'win' ">x64</Crossgen2BuildArchitecture>
109109
<Crossgen2BuildArchitecture Condition=" '$(Crossgen2BuildArchitecture)' == '' ">$(BuildArchitecture)</Crossgen2BuildArchitecture>
@@ -478,7 +478,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
478478
</Target>
479479

480480
<Target Name="_GenerateComposites"
481-
Condition="'$(BuildOsName)' == 'linux'"
481+
Condition="'$(TargetOsName)' == 'linux' or '$(TargetOsName)' == 'linux-musl'"
482482
DependsOnTargets="_ExpandRuntimePackageRoot">
483483

484484
<PropertyGroup>

0 commit comments

Comments
 (0)