[project @ 2001-07-16 11:08:51 by rrt]
authorrrt <unknown>
Mon, 16 Jul 2001 11:08:51 +0000 (11:08 +0000)
committerrrt <unknown>
Mon, 16 Jul 2001 11:08:51 +0000 (11:08 +0000)
Add C includes path for Windows here rather than hardwiring into
SysTools.lhs. Change to include rather than includes.

ghc/driver/PackageSrc.hs

index f9651bd..11b4cbf 100644 (file)
@@ -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" ],