[commit: testsuite] master: Driver: Define have_shared_libs correctly (48714a8)

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/48714a8e978eeffa12969ed0ff6f518c47094397

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

commit 48714a8e978eeffa12969ed0ff6f518c47094397
Author: Ian Lynagh <[email protected]>
Date:   Fri Oct 5 00:49:26 2012 +0100

    Driver: Define have_shared_libs correctly

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

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

diff --git a/config/ghc b/config/ghc
index ee6b493..26ee54c 100644
--- a/config/ghc
+++ b/config/ghc
@@ -52,11 +52,13 @@ if (ghc_with_threaded_rts == 1):
         config.have_smp = True
         config.run_ways.append('threaded2')
 
+if (ghc_with_dynamic_rts == 1):
+    config.have_shared_libs = True
+
 if (ghc_dynamic_by_default == 1):
     config.run_ways.append('static')
 else:
     if (ghc_with_dynamic_rts == 1):
-        config.have_shared_libs = True
         config.run_ways.append('dyn')
 
 if (ghc_with_profiling == 1 and ghc_with_threaded_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.