[commit: ghc] master: Enable GhcWithInterpreter when DYNAMIC_BY_DEFAULT is on (91c6593)

Ian Lynagh <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/91c6593c45a2d39b61a9adca667b73e293872d23

>---------------------------------------------------------------

commit 91c6593c45a2d39b61a9adca667b73e293872d23
Author: Ian Lynagh <[email protected]>
Date:   Fri Nov 23 15:48:10 2012 +0000

    Enable GhcWithInterpreter when DYNAMIC_BY_DEFAULT is on

>---------------------------------------------------------------

 mk/config.mk.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/mk/config.mk.in b/mk/config.mk.in
index bc85bd4..e0dc017 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.