use $host instead of $target (mainly affects builds with cabal)
# Check for idiosyncracies in some mingw impls of directory handling.
FP_READDIR_EOF_ERRNO
# Check for idiosyncracies in some mingw impls of directory handling.
FP_READDIR_EOF_ERRNO
*-mingw32)
EXTRA_LIBS="wsock32, msvcrt, kernel32, user32, shell32" ;;
*)
*-mingw32)
EXTRA_LIBS="wsock32, msvcrt, kernel32, user32, shell32" ;;
*)