Commit b9fe4cd5 authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot
Browse files

validate: Fix copy-pasta

Previously the Hadrian codepath of `validate` inverted the logic which
decides whether the test build of `xhtml` should be built with
`--enable-shared`. This resulted in validate failures on Windows, which
does not support dynamic linkage of Haskell code.
parent 4dc2002a
Pipeline #31361 failed with stages
in 21 seconds
......@@ -270,9 +270,9 @@ if [ $testsuite_only -eq 0 ]; then
dynamicGhc=$("../../$ghc" --info | grep "GHC Dynamic" | cut -d',' -f3 | cut -d'"' -f2)
if [ "$dynamicGhc" = "NO" ]
then
libFlags="--enable-shared --disable-library-vanilla"
else
libFlags="--disable-shared --enable-library-vanilla"
else
libFlags="--enable-shared --disable-library-vanilla"
fi
libFlags="$libFlags --disable-library-prof"
......
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