projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b5d7276
)
further stub filename fix: I managed to break non-stubdir -fvia-C compilation
author
Simon Marlow
<simonmar@microsoft.com>
Thu, 27 Sep 2007 10:25:39 +0000
(10:25 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Thu, 27 Sep 2007 10:25:39 +0000
(10:25 +0000)
compiler/main/Finder.lhs
patch
|
blob
|
history
diff --git
a/compiler/main/Finder.lhs
b/compiler/main/Finder.lhs
index
25bf90c
..
5419112
100644
(file)
--- a/
compiler/main/Finder.lhs
+++ b/
compiler/main/Finder.lhs
@@
-495,7
+495,7
@@
mkStubPaths dflags mod location
-- -I<dir> along with -stubdir <dir>.
include_basename
| Just _ <- stubdir = mod_basename
- | otherwise = filenameOf mod_basename
+ | otherwise = filenameOf src_basename
in
(stub_basename `joinFileExt` "c",
stub_basename `joinFileExt` "h",