David Eichmann pushed to branch wip/davide/windows-dlls at Glasgow Haskell Compiler / GHC
Commits:
-
3b123ba6
by David Eichmann at 2026-06-29T13:34:39+01:00
1 changed file:
Changes:
| ... | ... | @@ -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)
|