summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-09-25 21:00:29 +0000
committerIan Lynagh <igloo@earth.li>2010-09-25 21:00:29 +0000
commitd9064fb552f84ba7a642bb94cf306e1be87a236c (patch)
tree2e37c6db76906f7c7befcd36ed6d9af803916f3d /ghc.mk
parent2e61af71523d43317e8aff530f27457d94e3f40c (diff)
downloadhaskell-d9064fb552f84ba7a642bb94cf306e1be87a236c.tar.gz
Fix the TH deps
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/ghc.mk b/ghc.mk
index 906ea2932f..de304119b8 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -767,10 +767,16 @@ ifeq "$(UseArchivesForGhci)" "NO"
ghc/stage2/build/tmp/$(ghc_stage2_PROG) : $(GHCI_LIBS)
endif
+ifeq "$(UseArchivesForGhci)" "YES"
+GHCI_lib_way = v
+else
+GHCI_lib_way = GHCI
+endif
+
# Deps for TH uses in libraries
$(foreach way, $(GhcLibWays),$(eval \
libraries/vector/dist-install/build/Data/Vector/Fusion/Stream/Monadic.$($(way)_osuf): \
- $(libraries/primitive_dist-install_dyn_LIB) \
+ $(libraries/primitive_dist-install_$(GHCI_lib_way)_LIB) \
))
endif