summaryrefslogtreecommitdiff
path: root/testsuite/config/ghc
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-10-05 00:49:26 +0100
committerIan Lynagh <ian@well-typed.com>2012-10-05 00:49:26 +0100
commitc0ca8ffe6c991265ff506f274862a7c6a33296f1 (patch)
treefca6a09671d73a8d6024dc670a89a206a56b6c66 /testsuite/config/ghc
parent319f9ba400e46bb09584ea6d118ff85ea28aac17 (diff)
downloadhaskell-c0ca8ffe6c991265ff506f274862a7c6a33296f1.tar.gz
Driver: Define have_shared_libs correctly
Diffstat (limited to 'testsuite/config/ghc')
-rw-r--r--testsuite/config/ghc4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index ee6b493c18..26ee54cbb8 100644
--- a/testsuite/config/ghc
+++ b/testsuite/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):