diff options
author | David Eichmann <EichmannD@gmail.com> | 2019-07-17 16:14:01 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-10-01 16:55:33 -0400 |
commit | 9a27a06380fd706e0f2e040c4f01ae306bfd062b (patch) | |
tree | 2cc2962f4b965b3fbcad6d2c5821ab9cfcb551bb /hadrian | |
parent | 9c00217742c1f3a2582a5b36b2df57ad08062744 (diff) | |
download | haskell-9a27a06380fd706e0f2e040c4f01ae306bfd062b.tar.gz |
Hadrian: Libffi rule now `produces` dynamic library files.
Diffstat (limited to 'hadrian')
-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 -/- |