Don't put a trailing / on the mingw include path
authorIan Lynagh <igloo@earth.li>
Tue, 10 Mar 2009 17:22:42 +0000 (17:22 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 10 Mar 2009 17:22:42 +0000 (17:22 +0000)
compiler/main/SysTools.lhs

index 71a721e..49dd427 100644 (file)
@@ -222,7 +222,7 @@ initSysTools mbMinusB dflags0
               -- gcc can cope
               --      (see comments with declarations of global variables)
               gcc_b_arg = Option ("-B" ++ installed "gcc-lib/")
-              gcc_mingw_include_arg = Option ("-I" ++ installed "include/mingw/")
+              gcc_mingw_include_arg = Option ("-I" ++ installed "include/mingw")
               (gcc_prog,gcc_args)
                 | isWindowsHost && am_installed
                     -- We tell gcc where its specs file + exes are (-B)