GHC.Linker.Unit
Description
Linking Haskell units
collectLinkOpts :: DynFlags -> [UnitInfo] -> ([String], [String], [String]) Source #
collectArchives :: DynFlags -> UnitInfo -> IO [FilePath] Source #
getUnitLinkOpts :: DynFlags -> UnitEnv -> [UnitId] -> IO ([String], [String], [String]) Source #
Find all the link options in these and the preload packages, returning (package hs lib options, extra library options, other flags)
getLibs :: DynFlags -> UnitEnv -> [UnitId] -> IO [(String, String)] Source #