projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2e61af7
)
Fix the TH deps
author
Ian Lynagh
<igloo@earth.li>
Sat, 25 Sep 2010 21:00:29 +0000
(21:00 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 25 Sep 2010 21:00:29 +0000
(21:00 +0000)
ghc.mk
patch
|
blob
|
history
diff --git
a/ghc.mk
b/ghc.mk
index
906ea29
..
de30411
100644
(file)
--- a/
ghc.mk
+++ b/
ghc.mk
@@
-767,10
+767,16
@@
ifeq "$(UseArchivesForGhci)" "NO"
ghc/stage2/build/tmp/$(ghc_stage2_PROG) : $(GHCI_LIBS)
endif
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): \
# 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
))
endif