Skip to content

Commit

Permalink
Attempt to fix native AOT with CryptoKit (#76499)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcsjones authored Oct 2, 2022
1 parent 319391e commit fb5f07f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ The .NET Foundation licenses this file to you under the MIT license.

<ItemGroup Condition="'$(TargetOS)' == 'OSX'">
<NativeFramework Include="CoreFoundation" />
<NativeFramework Include="CryptoKit" />
<NativeFramework Include="Foundation" />
<NativeFramework Include="Security" />
<NativeFramework Include="GSS" />
Expand All @@ -98,9 +99,13 @@ The .NET Foundation licenses this file to you under the MIT license.
<LinkerArg Include="-lstdc++" />
<LinkerArg Include="-ldl" />
<LinkerArg Include="-lm" />
<LinkerArg Include="-lobjc" Condition="'$(TargetOS)' == 'OSX'" />
<LinkerArg Include="-lswiftCore" Condition="'$(TargetOS)' == 'OSX'" />
<LinkerArg Include="-lswiftFoundation" Condition="'$(TargetOS)' == 'OSX'" />
<LinkerArg Include="-lz" />
<LinkerArg Include="-lrt" Condition="'$(TargetOS)' != 'OSX'" />
<LinkerArg Include="-licucore" Condition="'$(TargetOS)' == 'OSX'" />
<LinkerArg Include="-L/usr/lib/swift" Condition="'$(TargetOS)' == 'OSX'" />
<LinkerArg Include="@(StaticICULibs)" Condition="'$(StaticICULinking)' == 'true'" />
<LinkerArg Include="-dynamiclib" Condition="'$(TargetOS)' == 'OSX' and '$(NativeLib)' == 'Shared'" />
<LinkerArg Include="-shared" Condition="'$(TargetOS)' != 'OSX' and '$(NativeLib)' == 'Shared'" />
Expand Down

0 comments on commit fb5f07f

Please sign in to comment.