Fix armel cross build error (#51479)
authorDong-Heon Jung <dheon.jung@samsung.com>
Mon, 19 Apr 2021 18:37:25 +0000 (03:37 +0900)
committerGitHub <noreply@github.com>
Mon, 19 Apr 2021 18:37:25 +0000 (11:37 -0700)
- Failed by https://github.com/dotnet/runtime/pull/51349

src/coreclr/tools/aot/crossgen2/crossgen2.props

index 4fcdaf9..7f38cdc 100644 (file)
@@ -58,7 +58,7 @@
 
     <TargetArchitectureForSharedLibraries Condition="'$(CrossHostArch)' == ''">$(TargetArchitecture)</TargetArchitectureForSharedLibraries>
     <TargetArchitectureForSharedLibraries Condition="'$(CrossHostArch)' != ''">$(CrossHostArch)</TargetArchitectureForSharedLibraries>
-    <TargetArchitectureForSharedLibraries Condition="'$(TargetArchitecture)'=='armel'">arm</TargetArchitectureForSharedLibraries>
+    <TargetArchitectureForSharedLibraries Condition="'$(TargetArchitectureForSharedLibraries)'=='armel'">arm</TargetArchitectureForSharedLibraries>
 
     <TargetArchitectureForLocalJitBuild Condition="'$(TargetArchitectureForLocalJitBuild)' == ''">$(TargetArchitecture)</TargetArchitectureForLocalJitBuild>
     <TargetArchitectureForLocalJitBuild Condition="'$(TargetArchitecture)'=='armel'">arm</TargetArchitectureForLocalJitBuild>