From 35ef279adf79818085e3a2fb407dc52ec723786f Mon Sep 17 00:00:00 2001 From: rrt Date: Mon, 16 Jul 2001 11:08:51 +0000 Subject: [PATCH] [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. --- ghc/driver/PackageSrc.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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" ], -- 1.7.10.4