Skip to content

Commit

Permalink
Delete StaticallyLinked property from Microsoft.NETCore.Native.Unix.p…
Browse files Browse the repository at this point in the history
…rops (dotnet#70854)

This option has many issues. Anybody trying to experiment with static linking can add `<LinkerArg Include="-static" />` into the local file.
  • Loading branch information
jkotas authored Jun 17, 2022
1 parent 6154792 commit eca86de
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ The .NET Foundation licenses this file to you under the MIT license.
<LinkerArg Include="-ldl" />
<LinkerArg Include="-lm" />
<LinkerArg Include="-lz" />
<LinkerArg Include="-static" Condition="'$(StaticallyLinked)' == 'true'" />
<LinkerArg Include="-lrt" Condition="'$(TargetOS)' != 'OSX'" />
<LinkerArg Include="-licucore" Condition="'$(TargetOS)' == 'OSX'" />
<LinkerArg Include="-dynamiclib" Condition="'$(TargetOS)' == 'OSX' and '$(NativeLib)' == 'Shared'" />
Expand Down

0 comments on commit eca86de

Please sign in to comment.