Skip to content

Commit

Permalink
[release/8.0] [NativeAOT] Fix iOS library build by linking standard C…
Browse files Browse the repository at this point in the history
…++ library by default (#92141)

* Link with standard C++ library when building a iOS library with NativeAOT

* PR feedback

---------

Co-authored-by: Ivan Povazan <ivan.povazan@gmail.com>
  • Loading branch information
github-actions[bot] and ivanpovazan authored Sep 16, 2023
1 parent 0175113 commit 287c10d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ The .NET Foundation licenses this file to you under the MIT license.

<EventPipeName>libeventpipe-disabled</EventPipeName>
<EventPipeName Condition="'$(EventSourceSupport)' == 'true'">libeventpipe-enabled</EventPipeName>

<LinkStandardCPlusPlusLibrary Condition="'$(LinkStandardCPlusPlusLibrary)' == '' and '$(_IsiOSLikePlatform)' == 'true' and '$(InvariantGlobalization)' != 'true'">true</LinkStandardCPlusPlusLibrary>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 287c10d

Please sign in to comment.