Commit 6d369421 authored by Moritz Angermann's avatar Moritz Angermann
Browse files

Copy libffi into place

rts needs libffi as libCff in rts/stage1/build. This fixes #89
parent c4c7a7f8
......@@ -21,7 +21,9 @@ copyRules = do
when (length ffiHPaths /= 1) $
putError $ "copyRules: exactly one ffi.h header expected"
++ "(found: " ++ show ffiHPaths ++ ")."
copyFile (takeDirectory (head ffiHPaths) -/- takeFileName ffih) ffih
copyFile libffiLibrary (targetPath Stage1 rts -/- "build" -/- "libCffi.a")
"inplace/lib/template-hsc.h" <~ pkgPath hsc2hs
"inplace/lib/platformConstants" <~ derivedConstantsPath
......
Supports Markdown
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