where
-- Always link in the haskell98 package for static linking. Other
-- packages have to be specified via the -package flag.
- link_pkgs = [haskell98PackageId]
+ link_pkgs
+ | dopt Opt_LinkHaskell98 dflags = [haskell98PackageId]
+ | otherwise = []
-- ---------------------------------------------------------------------------