Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/48714a8e978eeffa12969ed0ff6f518c47094397

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

commit 48714a8e978eeffa12969ed0ff6f518c47094397
Author: Ian Lynagh <i...@well-typed.com>
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):



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to