Don't add -I flag for Windows gcc's include files here; do it in
package.conf instead.
-- pick up whatever happens to be lying around in the path,
-- possibly including those from a cygwin install on the target,
-- which is exactly what we're trying to avoid.
-- pick up whatever happens to be lying around in the path,
-- possibly including those from a cygwin install on the target,
-- which is exactly what we're trying to avoid.
- ; let gcc_path | am_installed = installed_bin ("gcc -B" ++ installed "gcc-lib/"
- ++ " -I" ++ installed "include/mingw")
+ ; let gcc_path | am_installed = installed_bin ("gcc -B" ++ installed "gcc-lib/")
| otherwise = cGCC
perl_path | am_installed = installed_bin cGHC_PERL
| otherwise = cGHC_PERL
| otherwise = cGCC
perl_path | am_installed = installed_bin cGHC_PERL
| otherwise = cGHC_PERL