diff options
author | Simon Marlow <marlowsd@gmail.com> | 2011-04-07 09:41:09 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2011-04-08 09:44:15 +0100 |
commit | 9ffa2686f8f192244d0c91d42cea560d8f7adad2 (patch) | |
tree | d3bb7882244cd9c4eaded1bf21debe2467d75e86 /compiler/main/CodeOutput.lhs | |
parent | 1844c3c0804cac9b3e7c39500e47d75fbdc3a3ff (diff) | |
download | haskell-9ffa2686f8f192244d0c91d42cea560d8f7adad2.tar.gz |
bugfix for stub generation: create the directory for the _stub.h file,
not the _stub.c file, because the latter is now created as a temporary
file.
Diffstat (limited to 'compiler/main/CodeOutput.lhs')
-rw-r--r-- | compiler/main/CodeOutput.lhs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/CodeOutput.lhs b/compiler/main/CodeOutput.lhs index e9906a6c5b..f5030777cb 100644 --- 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 |