- # Linking: we have to give all the libraries explicitly.
-
-@@ -100,7 +95,6 @@ HC_BOOT_LD_OPTS = \
- ifeq "$(GhcWithInterpreter)" "YES"
- HC_BOOT_LD_OPTS += \
- -L$(FPTOOLS_TOP_ABS)/libraries/template-haskell \
-- -L$(FPTOOLS_TOP_ABS)/libraries/readline \
- -L$(FPTOOLS_TOP_ABS)/libraries/unix \
- -L$(FPTOOLS_TOP_ABS)/libraries/unix/cbits
- endif
-@@ -135,14 +129,12 @@ HC_BOOT_LD_OPTS += \
- -u "$(UNDERSCORE)base_GHCziIOBase_NonTermination_closure" \
- -u "$(UNDERSCORE)base_GHCziIOBase_BlockedOnDeadMVar_closure" \
- -u "$(UNDERSCORE)base_GHCziIOBase_Deadlock_closure" \
-- -u "$(UNDERSCORE)base_GHCziWeak_runFinalizzerBatch_closure" \
-- -u "$(UNDERSCORE)__stginit_Prelude"
--
-+ -u "$(UNDERSCORE)base_GHCziWeak_runFinalizzerBatch_closure"
-
- HC_BOOT_LIBS =
-
- ifeq "$(GhcWithInterpreter)" "YES"
--HC_BOOT_LIBS += -lHSreadline -lreadline -lHStemplate-haskell -lHSunix -lHSunix_cbits
-+HC_BOOT_LIBS += -lHStemplate-haskell -lHSunix -lHSunix_cbits
- endif
-
- HC_BOOT_LIBS += -lHSCabal -lHShaskell98 -lHSregex-compat -lHSregex-posix -lHSregex-base -lHSbase -lHSbase_cbits -lHSparsec -lHSrts -lgmp -lm $(EXTRA_HC_BOOT_LIBS)