Skip to content

Commit 8f0e8ab

Browse files
agockejkotasCopilot
authored
Allow using ld_classic if requested (#119408)
* Allow using ld_classic if requested * Update src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets Co-authored-by: Copilot <[email protected]> * Update linker argument condition for Xcode version * Update linker condition for Xcode version * typo --------- Co-authored-by: Jan Kotas <[email protected]> Co-authored-by: Copilot <[email protected]>
1 parent 2b5d3be commit 8f0e8ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ The .NET Foundation licenses this file to you under the MIT license.
283283
</PropertyGroup>
284284

285285
<ItemGroup Condition="'$(UseLdClassicXCodeLinker)' != 'false' and '$(_IsApplePlatform)' == 'true'">
286-
<CustomLinkerArg Condition="'$(_XcodeVersion)' == '15'" Include="-ld_classic" />
286+
<CustomLinkerArg Condition="'$(UseLdClassicXCodeLinker)' == 'true' or '$(_XcodeVersion)' == '15' or '$(_XcodeVersion)' == '16'" Include="-ld_classic" />
287287
</ItemGroup>
288288

289289
<PropertyGroup>

0 commit comments

Comments
 (0)