summaryrefslogtreecommitdiff
path: root/hadrian/src/Rules/Program.hs
diff options
context:
space:
mode:
authorDavid Eichmann <EichmannD@gmail.com>2019-05-03 18:53:26 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-05-21 17:01:16 -0400
commit0af519ac583c3544b1c4b1315b38ba0174d3ccb1 (patch)
tree83534ca5c91c6372737bc671ca6a38a90aff40e6 /hadrian/src/Rules/Program.hs
parent8fc654c3a00ab0cd842c3e8316f832170ea561d6 (diff)
downloadhaskell-0af519ac583c3544b1c4b1315b38ba0174d3ccb1.tar.gz
Refactor Libffi and RTS rules
This removes a hack that copies libffi files to the rts build directory. This was done in a libffi rule, but now an rts rule correctly needs and copies the relevant files from the libffi build dir to the rts build dir. Issues: #16272 #16304
Diffstat (limited to 'hadrian/src/Rules/Program.hs')
-rw-r--r--hadrian/src/Rules/Program.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hadrian/src/Rules/Program.hs b/hadrian/src/Rules/Program.hs
index bd4c4e358d..7efe6c42ae 100644
--- a/hadrian/src/Rules/Program.hs
+++ b/hadrian/src/Rules/Program.hs
@@ -14,6 +14,7 @@ import Settings
import Settings.Default
import Target
import Utilities
+import Rules.Library
-- | TODO: Drop code duplication
buildProgramRules :: [(Resource, Int)] -> Rules ()