Skip to content

Commit

Permalink
Add alternatename option when half-linking CRT on x86
Browse files Browse the repository at this point in the history
  • Loading branch information
zooba committed Sep 10, 2024
1 parent c46f3f2 commit 99d7bf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pymsbuild/targets/pyd.props
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<ProgramDatabaseFile>$([System.IO.Path]::ChangeExtension('$(TargetPath)', '.pdb'))</ProgramDatabaseFile>
<AdditionalDependencies Condition="$(DynamicLibcppLinkage) != 'true'">ucrt.lib;vcruntime.lib;%(AdditionalDependencies)</AdditionalDependencies>
<IgnoreSpecificDefaultLibraries Condition="$(DynamicLibcppLinkage) != 'true'">libucrt.lib;libvcruntime.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<AdditionalOptions Condition="$(DynamicLibcppLinkage) != 'true' and $(Platform) == 'Win32'">%(AdditionalOptions) /alternatename:__except_handler4=__except_handler4_common</AdditionalOptions>
</Link>
<Lib>
<OutputFile>$(TargetPath)</OutputFile>
Expand Down

0 comments on commit 99d7bf6

Please sign in to comment.