[project @ 2005-07-19 09:26:03 by ross]
[ghc-base.git] / configure.ac
index 9a8107d..aeaaa03 100644 (file)
@@ -82,7 +82,7 @@ FP_CHECK_CONST([O_BINARY], [#include <fcntl.h>], [0])
 # Check for idiosyncracies in some mingw impls of directory handling.
 FP_READDIR_EOF_ERRNO
 
-case "$target" in
+case "$host" in
 *-mingw32)
        EXTRA_LIBS="wsock32, msvcrt, kernel32, user32, shell32" ;;
 *)