diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-02-11 11:31:08 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-02-14 03:36:57 -0500 |
commit | b9fe4cd5ea843e95a333520e2e6036dd83852f5e (patch) | |
tree | a51718c07b059b0f85e14f22610e2bfc76debea0 /validate | |
parent | 4dc2002aeb08b8be399f1f535b86a671d18eac04 (diff) | |
download | haskell-b9fe4cd5ea843e95a333520e2e6036dd83852f5e.tar.gz |
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.
Diffstat (limited to 'validate')
-rwxr-xr-x | validate | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |