From: Ian Lynagh Date: Tue, 10 Mar 2009 17:22:42 +0000 (+0000) Subject: Don't put a trailing / on the mingw include path X-Git-Tag: 2009-03-13~7 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=9c9071e8ceecfd955ddfc4ad18f9ceb53dd85977 Don't put a trailing / on the mingw include path --- diff --git a/compiler/main/SysTools.lhs b/compiler/main/SysTools.lhs index 71a721e..49dd427 100644 --- a/compiler/main/SysTools.lhs +++ b/compiler/main/SysTools.lhs @@ -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)