[project @ 1999-03-02 19:01:56 by sof]
[ghc-hetmet.git] / ghc / compiler / basicTypes / Module.lhs
index 27d2cf2..deeefe1 100644 (file)
@@ -44,7 +44,7 @@ module Module
 #include "HsVersions.h"
 import OccName
 import Outputable
-import CmdLineOpts ( opt_Static, opt_CompilingPrelude )
+import CmdLineOpts ( opt_Static )
 
 \end{code}
 
@@ -165,8 +165,8 @@ mkPrelModule :: UserString -> Module
 mkPrelModule s = Module (_PK_ (encode s)) ilk
  where 
   ilk
-   | opt_Static || opt_CompilingPrelude = HiFile
-   | otherwise                         = HiDllFile
+   | opt_Static = HiFile
+   | otherwise = HiDllFile
 
 mkSrcModuleFS :: UserFS -> Module
 mkSrcModuleFS s = Module (encodeFS s) HiFile