Fix build; Opt_LinkHaskell98 is now Opt_AutoLinkPackages
authorIan Lynagh <igloo@earth.li>
Tue, 8 Jul 2008 22:40:05 +0000 (22:40 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 8 Jul 2008 22:40:05 +0000 (22:40 +0000)
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                        = []
 
 
 -- ---------------------------------------------------------------------------