diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-10-05 00:49:26 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-10-05 00:49:26 +0100 |
commit | c0ca8ffe6c991265ff506f274862a7c6a33296f1 (patch) | |
tree | fca6a09671d73a8d6024dc670a89a206a56b6c66 /testsuite/config | |
parent | 319f9ba400e46bb09584ea6d118ff85ea28aac17 (diff) | |
download | haskell-c0ca8ffe6c991265ff506f274862a7c6a33296f1.tar.gz |
Driver: Define have_shared_libs correctly
Diffstat (limited to 'testsuite/config')
-rw-r--r-- | testsuite/config/ghc | 4 |
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): |