David Eichmann pushed to branch wip/davide/windows-dlls at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • hadrian/src/Settings/Builders/Ghc.hs
    ... ... @@ -139,6 +139,7 @@ ghcLinkArgs = builder (Ghc LinkHs) ? do
    139 139
                     [ arg "-dynamic"
    
    140 140
                     -- TODO what about windows?
    
    141 141
                     , isLibrary pkg ? pure [ "-shared", "-dynload", "deploy" ]
    
    142
    +                , isLibrary pkg ? isWinHost ? arg "-optl-Wl,--export-all-symbols"
    
    142 143
                     , notStage0 ? targetSupportsRPaths ? mconcat
    
    143 144
                           [ arg ("-optl-Wl,-rpath," ++ rpath)
    
    144 145
                           , isProgram pkg ? arg ("-optl-Wl,-rpath," ++ bindistRpath)