From d9064fb552f84ba7a642bb94cf306e1be87a236c Mon Sep 17 00:00:00 2001 From: Ian Lynagh <igloo@earth.li> Date: Sat, 25 Sep 2010 21:00:29 +0000 Subject: [PATCH] Fix the TH deps --- ghc.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ghc.mk b/ghc.mk index 906ea2932f6..de304119b85 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 -- GitLab