summaryrefslogtreecommitdiff
path: root/testsuite/config
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-10-12 22:43:07 +0100
committerIan Lynagh <ian@well-typed.com>2012-10-12 22:43:07 +0100
commit8933b4e3d48cf55a51ba8822e73aca9ed4cc34cb (patch)
tree21995d9915642de8c20b2b9f29b293fd528e0cda /testsuite/config
parent187604820cea0c8ffc0cb268dc003e4aafb87ea9 (diff)
downloadhaskell-8933b4e3d48cf55a51ba8822e73aca9ed4cc34cb.tar.gz
ghcilink001 is expected to fail when ghci is dynamic
dynamic ghci can't load .a files
Diffstat (limited to 'testsuite/config')
-rw-r--r--testsuite/config/ghc3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index 30e75bf78a..40f9919f7a 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -55,7 +55,8 @@ if (ghc_with_threaded_rts == 1):
if (ghc_with_dynamic_rts == 1):
config.have_shared_libs = True
-if (ghc_dynamic_by_default == 1):
+config.ghc_dynamic_by_default = ghc_dynamic_by_default
+if (ghc_dynamic_by_default):
config.run_ways.append('static')
else:
if (ghc_with_dynamic_rts == 1):