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:
1844c3c
)
bugfix for stub generation: create the directory for the _stub.h file,
author
Simon Marlow
<marlowsd@gmail.com>
Thu, 7 Apr 2011 08:41:09 +0000
(09:41 +0100)
committer
Simon Marlow
<marlowsd@gmail.com>
Fri, 8 Apr 2011 08:44:15 +0000
(09:44 +0100)
not the _stub.c file, because the latter is now created as a temporary
file.
compiler/main/CodeOutput.lhs
patch
|
blob
|
history
diff --git
a/compiler/main/CodeOutput.lhs
b/compiler/main/CodeOutput.lhs
index
e9906a6
..
f503077
100644
(file)
--- a/
compiler/main/CodeOutput.lhs
+++ b/
compiler/main/CodeOutput.lhs
@@
-236,7
+236,7
@@
outputForeignStubs dflags mod location stubs
stub_h_output_w = showSDoc stub_h_output_d
-- in
- createDirectoryHierarchy (takeDirectory stub_c)
+ createDirectoryHierarchy (takeDirectory stub_h)
dumpIfSet_dyn dflags Opt_D_dump_foreign
"Foreign export header file" stub_h_output_d