• ian@well-typed.com's avatar
    Fix dynamically linked GHC on Windows · a5a52d79
    ian@well-typed.com authored
    This is a rather ugly hack to fix dynamically linked GHC on Windows.
    If GHC is linked with -threaded, then it links against libHSrts_thr.
    But if base is linked against libHSrts, then both end up getting
    loaded, and things go wrong. We therefore link the libraries that
    link against the RTS with the same RTS flags that we link GHC with.
ghc.mk 46.3 KB