HORIZON HASKELLDocsmaster5ff592b2026-10-19Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · master · 5ff592b · 2026-10-19

Moduleghc-10.0.0.20260917GHC2024

GHC.Linker.Static

  • 1 value
valuelinkStaticLib
  1. :: Logger
  2. -> DynFlags
  3. -> UnitEnv
  4. -> [String]
  5. -> [UnitId]
  6. -> IO ()
#

Linking a static lib will not really link anything. It will merely produce a static archive of all dependent static libraries. The resulting library will still need to be linked with any remaining link flags.