projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86454e4
)
[project @ 2001-07-16 11:08:51 by rrt]
author
rrt
<unknown>
Mon, 16 Jul 2001 11:08:51 +0000
(11:08 +0000)
committer
rrt
<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
patch
|
blob
|
history
diff --git
a/ghc/driver/PackageSrc.hs
b/ghc/driver/PackageSrc.hs
index
f9651bd
..
11b4cbf
100644
(file)
--- 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" ],