Skip to content

Commit

Permalink
Use clang --version to get Apple toolset version (#100199)
Browse files Browse the repository at this point in the history
Fixes #100189

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
  • Loading branch information
github-actions[bot] and jkotas committed Apr 4, 2024
1 parent 7ae2d00 commit 479defb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ The .NET Foundation licenses this file to you under the MIT license.
<LinkerArg Include="-Wl,--eh-frame-hdr" Condition="'$(_IsApplePlatform)' != 'true'" />
</ItemGroup>

<Exec Command="xcodebuild -version" Condition="'$(_IsApplePlatform)' == 'true'" IgnoreExitCode="true" StandardOutputImportance="Low" ConsoleToMSBuild="true">
<Exec Command="clang --version" Condition="'$(_IsApplePlatform)' == 'true'" IgnoreExitCode="true" StandardOutputImportance="Low" ConsoleToMSBuild="true">
<Output TaskParameter="ExitCode" PropertyName="_XcodeVersionStringExitCode" />
<Output TaskParameter="ConsoleOutput" PropertyName="_XcodeVersionString" />
</Exec>
Expand Down

0 comments on commit 479defb

Please sign in to comment.