X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fmain%2FDriverPipeline.hs;h=0db12cd2546971365dea6762c98808dbf1951c33;hp=8543707cf16c9e9789d52036fc31a17ad5068d02;hb=6837025d796bf1487be3d572937e18d0e2cf727b;hpb=53ec704b7155b18a49f09e6894fd033db3b8f592 diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs index 8543707..0db12cd 100644 --- a/compiler/main/DriverPipeline.hs +++ b/compiler/main/DriverPipeline.hs @@ -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 = [] -- ---------------------------------------------------------------------------