[commit: testsuite] master: Don't enable the "static" way if we don't have vanilla libraries (64c5faf)

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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/64c5faf46c6fa63189dfda8d81f63c754b0cfd48

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

commit 64c5faf46c6fa63189dfda8d81f63c754b0cfd48
Author: Ian Lynagh <[email protected]>
Date:   Fri Nov 2 12:19:42 2012 +0000

    Don't enable the "static" way if we don't have vanilla libraries

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

 config/ghc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/config/ghc b/config/ghc
index 099134d..98a7c33 100644
--- a/config/ghc
+++ b/config/ghc
@@ -59,7 +59,7 @@ if (ghc_with_dynamic_rts == 1):
     config.have_shared_libs = True
 
 config.ghc_dynamic_by_default = ghc_dynamic_by_default
-if (ghc_dynamic_by_default):
+if ghc_dynamic_by_default and ghc_with_vanilla == 1:
     config.run_ways.append('static')
 else:
     if (ghc_with_dynamic_rts == 1):
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.