diff options
Diffstat (limited to 'hadrian/src/Rules/Libffi.hs')
-rw-r--r-- | hadrian/src/Rules/Libffi.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hadrian/src/Rules/Libffi.hs b/hadrian/src/Rules/Libffi.hs index 3d54721822..75ac1aa6ba 100644 --- a/hadrian/src/Rules/Libffi.hs +++ b/hadrian/src/Rules/Libffi.hs @@ -165,6 +165,10 @@ libffiRules = do -- Note this build needs the Makefile, triggering the rules bellow. build $ target context (Make libffiPath) [] [] + -- Produces all install files. + produces =<< (\\ topLevelTargets) + <$> liftIO (getDirectoryFilesIO "." [libffiPath -/- "inst//*"]) + -- Find dynamic libraries. dynLibFiles <- do let libfilesDir = libffiPath -/- |