diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-10-04 20:44:41 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-10-04 22:13:58 +0100 |
commit | b49ad6bb4e85bc16b60c176672b448e30d333d7c (patch) | |
tree | ce38d5639ea9315bef4839ea00d62916ba44c7a2 /ghc.mk | |
parent | 16a8414061a1fef7d90e162e5253d3005cb11806 (diff) | |
download | haskell-b49ad6bb4e85bc16b60c176672b448e30d333d7c.tar.gz |
Load the right object files in ghci
When we have a dynamic ghc, we need to load the dynamic object files
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -184,6 +184,12 @@ include rules/way-prelims.mk $(foreach way,$(ALL_WAYS),\ $(eval $(call way-prelims,$(way)))) +ifeq "$(DYNAMIC_BY_DEFAULT)" "YES" +GHCI_WAY = dyn +else +GHCI_WAY = v +endif + # ----------------------------------------------------------------------------- # Compilation Flags |