[project @ 2000-03-18 15:37:58 by panne]
[ghc-hetmet.git] / ghc / driver / ghc.lprl
index 0ce3dc7..d2e0afc 100644 (file)
@@ -1154,7 +1154,9 @@ sub setupSyslibs {
   }
 
   # Push library HSrts, plus boring clib bit
-  push(@SysLibrary, "-lHSrts${BuildTag}");
+  # Note: The scheduler references a closure from PrelException,
+  # so the prelude lib is mentioned once again here.
+  push(@SysLibrary, "-lHSrts${BuildTag} -lHS${BuildTag}");
 
   #
   # RTS compiled with cygwin32, uses the WinMM API