Add deps for TH uses in vector
authorIan Lynagh <igloo@earth.li>
Thu, 23 Sep 2010 22:02:44 +0000 (22:02 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 23 Sep 2010 22:02:44 +0000 (22:02 +0000)
ghc.mk

diff --git a/ghc.mk b/ghc.mk
index e0d2cce..906ea29 100644 (file)
--- a/ghc.mk
+++ b/ghc.mk
@@ -767,6 +767,11 @@ ifeq "$(UseArchivesForGhci)" "NO"
 ghc/stage2/build/tmp/$(ghc_stage2_PROG) : $(GHCI_LIBS)
 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) \
+  ))
 endif
 
 # -----------------------------------------------------------------------------