Enable GhcWithInterpreter when DYNAMIC_BY_DEFAULT is on
authorIan Lynagh <ian@well-typed.com>
Fri, 23 Nov 2012 15:48:10 +0000 (15:48 +0000)
committerIan Lynagh <ian@well-typed.com>
Fri, 23 Nov 2012 15:48:10 +0000 (15:48 +0000)
mk/config.mk.in

index bc85bd4..e0dc017 100644 (file)
@@ -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