Commit 9ffa2686 authored by Simon Marlow's avatar Simon Marlow

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.
parent 1844c3c0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment