summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-09-20 20:16:20 +0000
committerIan Lynagh <igloo@earth.li>2010-09-20 20:16:20 +0000
commitb8384ce5da4738c0a6d3eaf11de03cab3ddd3cd6 (patch)
treeaef66d589ecc8070e2472ec9da07710ff15113aa /ghc.mk
parenta22548125be4853556a9d93b66d72199fbf28db8 (diff)
downloadhaskell-b8384ce5da4738c0a6d3eaf11de03cab3ddd3cd6.tar.gz
Implement archive loading for ghci
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/ghc.mk b/ghc.mk
index 199e07ae9e..0dfad2ffa8 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -739,7 +739,9 @@ $(foreach pkg,$(BOOT_PKGS),$(eval libraries/$(pkg)_dist-boot_HC_OPTS += $$(GhcBo
GHCI_LIBS = $(foreach lib,$(PACKAGES),$(libraries/$(lib)_dist-install_GHCI_LIB)) \
$(compiler_stage2_GHCI_LIB)
+ifeq "$(UseArchivesForGhci)" "NO"
ghc/stage2/build/tmp/$(ghc_stage2_PROG) : $(GHCI_LIBS)
+endif
endif