From: rrt Date: Mon, 16 Jul 2001 11:08:51 +0000 (+0000) Subject: [project @ 2001-07-16 11:08:51 by rrt] X-Git-Tag: Approximately_9120_patches~1541 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=35ef279adf79818085e3a2fb407dc52ec723786f;p=ghc-hetmet.git [project @ 2001-07-16 11:08:51 by rrt] Add C includes path for Windows here rather than hardwiring into SysTools.lhs. Change to include rather than includes. --- diff --git a/ghc/driver/PackageSrc.hs b/ghc/driver/PackageSrc.hs index f9651bd..11b4cbf 100644 --- a/ghc/driver/PackageSrc.hs +++ b/ghc/driver/PackageSrc.hs @@ -70,7 +70,11 @@ package_details installing extra_libraries = [ "winmm", "wsock32" ], -- winmm for the threadDelay timer, wsock32 for the linker #endif include_dirs = if installing - then [ "$libdir/includes" ] + then [ "$libdir/include" +#ifdef mingw32_TARGET_OS + , "$libdir/include/mingw" +#endif + ] else [ ghc_src_dir cGHC_INCLUDE_DIR ], c_includes = [ "Stg.h" ], -- ha! package_deps = [ "gmp" ],