summaryrefslogtreecommitdiff
path: root/mk/config.mk.in
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-11-23 15:48:10 +0000
committerIan Lynagh <ian@well-typed.com>2012-11-23 15:48:10 +0000
commit91c6593c45a2d39b61a9adca667b73e293872d23 (patch)
treed7a40668f1e568db1fc44789fb67c755e4e8d7c3 /mk/config.mk.in
parentc22850f7c950009ee4de84c20dc4a6cf7c0b500f (diff)
downloadhaskell-91c6593c45a2d39b61a9adca667b73e293872d23.tar.gz
Enable GhcWithInterpreter when DYNAMIC_BY_DEFAULT is on
Diffstat (limited to 'mk/config.mk.in')
-rw-r--r--mk/config.mk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index bc85bd479f..e0dc017c6b 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -190,7 +190,7 @@ ArchSupportsGHCi=$(strip $(patsubst $(TargetArch_CPP), YES, $(findstring $(Targe
ifeq "$(OsSupportsGHCi)$(ArchSupportsGHCi)" "YESYES"
GhcWithInterpreter=YES
else
-GhcWithInterpreter=NO
+GhcWithInterpreter=$(if $(findstring YES,$(DYNAMIC_BY_DEFAULT)),YES,NO)
endif
# GhcEnableTablesNextToCode tells us whether the target architecture