Fix build; Opt_LinkHaskell98 is now Opt_AutoLinkPackages
[ghc-hetmet.git] / compiler / main / DriverPipeline.hs
index 8543707..0db12cd 100644 (file)
@@ -390,8 +390,8 @@ doLink dflags stop_phase o_files
    -- Always link in the haskell98 package for static linking.  Other
    -- packages have to be specified via the -package flag.
     link_pkgs
-     | dopt Opt_LinkHaskell98 dflags = [haskell98PackageId]
-     | otherwise                     = []
+     | dopt Opt_AutoLinkPackages dflags = [haskell98PackageId]
+     | otherwise                        = []
 
 
 -- ---------------------------------------------------------------------------