[project @ 2000-11-22 12:27:57 by simonmar]
authorsimonmar <unknown>
Wed, 22 Nov 2000 12:27:57 +0000 (12:27 +0000)
committersimonmar <unknown>
Wed, 22 Nov 2000 12:27:57 +0000 (12:27 +0000)
omit PrelMain from the GHCi library.

ghc/lib/std/Makefile

index d9bfb4a..22b2331 100644 (file)
@@ -34,9 +34,8 @@ endif
 
 HSLIB = std
 
-ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
-LIBOBJS = $(filter-out PrelHugs.$(way_)o,$(HS_OBJS))
-endif
+# we don't want PrelMain in the GHCi library.
+GHCI_LIBOBJS = $(filter-out PrelMain.$(way_)o,$(HS_OBJS))
 
 #-----------------------------------------------------------------------------
 #      Setting the GHC compile options