summaryrefslogtreecommitdiff
path: root/testsuite/config
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-11-02 12:19:42 +0000
committerIan Lynagh <ian@well-typed.com>2012-11-02 12:19:42 +0000
commiteb1c829b6006b02b42705787114aa905046b7743 (patch)
tree685b80d370cc59ddb12dc0d68ae98da71bc5b499 /testsuite/config
parent897415c001fd2fecf11375fee8eedcea34c89e72 (diff)
downloadhaskell-eb1c829b6006b02b42705787114aa905046b7743.tar.gz
Don't enable the "static" way if we don't have vanilla libraries
Diffstat (limited to 'testsuite/config')
-rw-r--r--testsuite/config/ghc2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index 099134d15e..98a7c334c1 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -59,7 +59,7 @@ if (ghc_with_dynamic_rts == 1):
config.have_shared_libs = True
config.ghc_dynamic_by_default = ghc_dynamic_by_default
-if (ghc_dynamic_by_default):
+if ghc_dynamic_by_default and ghc_with_vanilla == 1:
config.run_ways.append('static')
else:
if (ghc_with_dynamic_rts == 1):