Fix an nasty black hole, concerning computation of isRecursiveTyCon
[ghc-hetmet.git] / validate
index 4e2352b..b364f57 100644 (file)
--- a/validate
+++ b/validate
@@ -64,6 +64,10 @@ if [ $no_clean -eq 0 ]; then
             then
                 config_args="$config_args --with-gcc=c:/mingw/bin/gcc"
             fi
+            if [ -f c:/mingw/bin/ld.exe ]
+            then
+                config_args="$config_args --with-ld=c:/mingw/bin/ld"
+            fi
             ;;
     esac