Commit eb1c829b authored by ian@well-typed.com's avatar ian@well-typed.com

Don't enable the "static" way if we don't have vanilla libraries

parent 897415c0
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment