Ben Gamari pushed to branch wip/bump-win32-tarballs at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • libraries/ghc-internal/ghc-internal.cabal.in
    ... ... @@ -478,6 +478,8 @@ Library
    478 478
             -- is no longer re-exporting them (see #11223)
    
    479 479
             -- ucrt: standard C library. The RTS will automatically include this,
    
    480 480
             --       but is added for completeness.
    
    481
    +        -- compiler-rt: this ensures that __stack_chk_fail is not resolved to
    
    482
    +                        the variant provided by mingwex below.
    
    481 483
             -- mingwex: provides GNU POSIX extensions that aren't provided by ucrt.
    
    482 484
             -- mingw32: Unfortunately required because of a resource leak between
    
    483 485
             --          mingwex and mingw32. the __math_err symbol is defined in
    
    ... ... @@ -493,7 +495,7 @@ Library
    493 495
             --         on Windows. Required because of mingw32.
    
    494 496
             extra-libraries:
    
    495 497
                 wsock32, user32, shell32, mingw32, kernel32, advapi32,
    
    496
    -            mingwex, ws2_32, shlwapi, ole32, rpcrt4, ntdll, ucrt
    
    498
    +            compiler-rt, mingwex, ws2_32, shlwapi, ole32, rpcrt4, ntdll, ucrt
    
    497 499
             -- Minimum supported Windows version.
    
    498 500
             -- These numbers can be found at:
    
    499 501
             --  https://msdn.microsoft.com/en-us/library/windows/desktop/aa383745(v=vs.85).aspx