Skip to content

Commit 908e80a

Browse files
authored
Update eng/internal-nativeaot-build.targets
1 parent c7267e8 commit 908e80a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/internal-nativeaot-build.targets

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
(when alternative compiler, i.e. gcc, is not selected)
88
-->
99
<Target Name="LocateNativeCompiler"
10-
Condition="'$(HostOS)' != 'windows'"
10+
Condition="'$(HostOS)' != 'windows' and !$(RuntimeIdentifier.StartsWith('win-'))"
1111
BeforeTargets="SetupOSSpecificProps">
1212
<PropertyGroup>
1313
<CppCompilerAndLinker Condition="'$(CppCompilerAndLinker)' == ''">clang</CppCompilerAndLinker>

0 commit comments

Comments
 (0)