rules/build-prog: Ensure programs depend upon their transitive deps
authorBen Gamari <ben@smart-cactus.org>
Tue, 17 May 2016 16:05:24 +0000 (18:05 +0200)
committerBen Gamari <ben@smart-cactus.org>
Tue, 17 May 2016 16:29:50 +0000 (18:29 +0200)
commit5d80d14196ef048ffe037b2d92af2e9af0cb9e19
tree78cdabfea186067c85d9781cd633caef1e9e0d44
parenta54d87a9e69746446adfe84a38d888861b3ec02b
rules/build-prog: Ensure programs depend upon their transitive deps

Previously programs only depended upon the direct dependencies; while I
would have thought that this would be sufficient, somehow we were
getting to the link step of building `ghc-pkg` before `ghc-boot-th` was
built (despite the fact that `ghc-boot` has a direct dependency on
`ghc-boot-th`).

See #12078.
rules/build-prog.mk